You are here

function secure_permissions_secure_permissions_roles in Secure Permissions 7

Same name and namespace in other branches
  1. 6 secure_permissions.module \secure_permissions_secure_permissions_roles()
  2. 7.2 secure_permissions.module \secure_permissions_secure_permissions_roles()

Implements hook_secure_permissions_roles().

Defines the roles available on a site.

Important: If you have custom roles on your site, you must implement this hook to retain those roles.

File

./secure_permissions.module, line 291
Secure Permissions module file.

Code

function secure_permissions_secure_permissions_roles() {
  $roles = array(
    'anonymous user',
    'authenticated user',
  );
  return $roles;
}