You are here

function brightcove_permission in Brightcove Video Connect 7.2

Same name and namespace in other branches
  1. 7.7 brightcove.module \brightcove_permission()
  2. 7.3 brightcove.module \brightcove_permission()
  3. 7.4 brightcove.module \brightcove_permission()
  4. 7.5 brightcove.module \brightcove_permission()
  5. 7.6 brightcove.module \brightcove_permission()

Implements hook_permission().

File

./brightcove.module, line 104
Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.

Code

function brightcove_permission() {
  return array(
    'administer brightcove settings' => array(
      'title' => t('Administer brightcove'),
    ),
    'browse videos' => array(
      'title' => t('Browse videos'),
    ),
    'upload videos' => array(
      'title' => t('Upload videos'),
    ),
  );
}