Do not show API error messages to non-administrative users

Created on 2 October 2019, over 5 years ago
Updated 23 January 2025, 3 months ago

brightcove_try() uses drupal_set_message(t('Brightcove API call failed: %message', ...)) in the case of an API error, which renders to all users. This should definitely be permission-based. End users should not be seeing API error messages by default.

🐛 Bug report
Status

Closed: outdated

Version

6.0

Component

Code

Created by

🇳🇿New Zealand jweowu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024