You are here

function user_permissions_install in User Permissions 7

Same name and namespace in other branches
  1. 8 user_permissions.install \user_permissions_install()

Creates a dummy role with no permissions

File

./user_permissions.install, line 6

Code

function user_permissions_install() {
  $role = new stdClass();
  $role->name = USER_PERMISSIONS_NO_ROLE;
  user_role_save($role);
}