You are here

function certificate_permission in Certificate 7.2

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

Implements hook_permission().

File

./certificate.module, line 183
Certificate module.

Code

function certificate_permission() {
  return array(
    'administer certificates' => array(
      'title' => t('administer certificates'),
      'description' => t('Configure global certificate settings and mappings.'),
    ),
    '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.'),
    ),
  );
}