You are here

function simple_access_perm in Simple Access 5

Same name and namespace in other branches
  1. 5.2 simple_access.module \simple_access_perm()
  2. 6.2 simple_access.module \simple_access_perm()

Implementation of hook_perm().

File

./simple_access.module, line 112
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_perm() {
  return array(
    'manage simple access',
    'assign access to nodes',
  );
}