You are here

function block_access_can_config in Block Access 6

Same name and namespace in other branches
  1. 6.2 block_access.module \block_access_can_config()
  2. 7 block_access.module \block_access_can_config()
2 calls to block_access_can_config()
block_access_check_config in ./block_access.module
block_access_check_perms in ./block_access.module

File

./block_access.module, line 180

Code

function block_access_can_config($module, $delta) {
  return user_access(t(BLOCK_ACCESS_ALL_CONFIG)) || user_access(t(BLOCK_ACCESS_ALL_CONFIG_LANG)) || user_access(t(BLOCK_ACCESS_ALL_CONFIG_SPEC)) || user_access(t(BLOCK_ACCESS_ALL_CONFIG_USER)) || user_access(t(BLOCK_ACCESS_ALL_CONFIG_ROLE)) || user_access(t(BLOCK_ACCESS_ALL_CONFIG_PAGE)) || block_access_user_access($module, $delta, 'config') || block_access_user_access($module, $delta, 'config_lang') || block_access_user_access($module, $delta, 'config_spec') || block_access_user_access($module, $delta, 'config_user') || block_access_user_access($module, $delta, 'config_role') || block_access_user_access($module, $delta, 'config_page');
}