You are here

function og_rules_integration_access in Organic groups 7

Same name and namespace in other branches
  1. 7.2 og.rules.inc \og_rules_integration_access()

OG Rules integration access callback.

2 string references to 'og_rules_integration_access'
og_rules_action_info in ./og.rules.inc
Implements hook_rules_action_info().
og_rules_condition_info in ./og.rules.inc
Implements hook_rules_condition_info().

File

./og.rules.inc, line 332
Rules integration for the Organic groups module.

Code

function og_rules_integration_access($type, $name) {

  // Grant everyone access to conditions.
  return $type == 'condition' || user_access('administer group');
}