You are here

function config_perms_access_callback in Custom Permissions 6.2

Same name and namespace in other branches
  1. 6 config_perms.module \config_perms_access_callback()

Access callback

1 string reference to 'config_perms_access_callback'
config_perms_menu_alter in ./config_perms.module
Implementation of hook_menu_alter().

File

./config_perms.module, line 131
Adds more granular permissions for items under 'administer site configuration'.

Code

function config_perms_access_callback($perm) {
  return user_access(check_plain($perm->name));
}