You are here

function permissions_lock_permission in Permissions Lock 7

Implements hook_permission().

File

./permissions_lock.module, line 66
Lock permissions on the permissions administration pages for certain roles

Code

function permissions_lock_permission() {
  return array(
    'manage permission locks' => array(
      'title' => t('manage permission locks'),
      'description' => t('users with this permission set can decide which permissions will be locked for users with limited access to the permission settings.'),
    ),
    'manage permissions unrestricted' => array(
      'title' => t('manage permissions unrestricted'),
      'description' => t('users without this permission will have no right to configure permissions that are locked, while users with this permission are not restricted.'),
    ),
  );
}