function saferpermissions_permission_blacklist in Safer Permissions 7
Returns the list of permissions which should be disabled on anonymous users.
Return value
array List of disabled permissions.
1 call to saferpermissions_permission_blacklist()
- _saferpermissions_is_banned in ./
saferpermissions.module - Checks if a permission is on the blacklist.
File
- ./
saferpermissions.module, line 151 - Disallows unwanted permissions for anonymous.
Code
function saferpermissions_permission_blacklist() {
$cache =& drupal_static(__FUNCTION__, NULL);
if ($cache === NULL) {
$cache = module_invoke_all('saferpermissions_anonymous_permission_ban_info');
drupal_alter('saferpermissions_anonymous_permission_ban_info', $cache);
}
return $cache;
}