You are here

constant USER_PERMISSIONS_NO_ROLE in User Permissions 7

Same name and namespace in other branches
  1. 8 user_permissions.module \USER_PERMISSIONS_NO_ROLE

Defines a new constant for the dummy role _user_role_0, which will not be given any permissions.

3 uses of USER_PERMISSIONS_NO_ROLE
user_permissions_install in ./user_permissions.install
Creates a dummy role with no permissions
user_permissions_profile_permissions_form in ./user_permissions.module
Creates form on user's profile for assigning permissions
user_permissions_profile_permissions_form_submit in ./user_permissions.module
Handles submission of user_permissions_profile_permissions_form

File

./user_permissions.module, line 7

Code

define("USER_PERMISSIONS_NO_ROLE", '_user_role_0');