function rules_user_integration_access

User integration access callback.

Related topics

3 string references to 'rules_user_integration_access'
rules_user_action_info in modules/user.rules.inc
Implements hook_rules_action_info() on behalf of the user module.
rules_user_condition_info in modules/user.rules.inc
Implements hook_rules_condition_info() on behalf of the user module.
rules_user_event_info in modules/user.rules.inc
Implements hook_rules_event_info().

File

modules/user.rules.inc, line 109

Code

function rules_user_integration_access($type, $name) {
    if ($type == 'event' || $type == 'condition') {
        return entity_access('view', 'user');
    }
    // Else return admin access.
    return user_access('administer users');
}