You are here

function simple_access_permission in Simple Access 7.2

Implements hook_perm().

File

./simple_access.module, line 120
This module allows administrators to make nodes viewable by specific 'access groups'. Each access group can contain any number of roles. If a node is not assigned to any access groups, it will remain viewable by all users.

Code

function simple_access_permission() {
  return array(
    'manage simple access' => array(
      'title' => t('Administer Simple Access'),
      'description' => t('Allow access to administration pages for simple access.'),
    ),
    'assign access to nodes' => array(
      'title' => t('Assign access to nodes'),
      'description' => t('Allow assigning of group access to nodes.'),
    ),
    'assign profiles to nodes' => array(
      'title' => t('Assign profiles to nodes'),
      'description' => t('Allow assigning of access profiles to nodes.'),
    ),
    'assign owner permissions' => array(
      'title' => t('Assign owner permissions'),
      'description' => t('Allow assigning of owner permissions to nodes.'),
    ),
  );
}