You are here

function certificate_permission in Certificate 7.3

Same name and namespace in other branches
  1. 8.3 certificate.module \certificate_permission()
  2. 7.2 certificate.module \certificate_permission()
  3. 3.x certificate.module \certificate_permission()

Implements hook_permission().

File

./certificate.module, line 185
Certificate module.

Code

function certificate_permission() {
  return array(
    'administer certificates' => array(
      'title' => t('administer certificates'),
      'description' => t('Configure global certificate settings and mappings.'),
    ),
    'administer certificate snapshots' => array(
      'title' => t('administer certificate snapshots'),
      'description' => t('Administer certificate snapshots via views'),
    ),
    'assign certificates' => array(
      'title' => t('assign certificates'),
      'description' => t('Add or remove certificate mappings on certifiable objects.'),
    ),
    'view all user certificates' => array(
      'title' => t('view all user certificates'),
      'description' => t('View any certificate earned by another user.'),
    ),
  );
}