You are here

function config_perms_access_callback in Custom Permissions 6

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

Access callback for theme selection and settings page

2 string references to 'config_perms_access_callback'
config_perms_disable in ./config_perms.module
Implementation of hook_disable().
config_perms_menu_alter in ./config_perms.module
Implementation of hook_menu_alter().

File

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

Code

function config_perms_access_callback($perm) {
  return user_access($perm) || user_access('administer site configuration');
}