function og_group_entity_access in Organic groups 7
Determines access for a group entity.
1 string reference to 'og_group_entity_access'
- og_entity_info in ./
og.module - Implements hook_entity_info().
File
- ./
og.module, line 1360 - Enable users to create and manage groups with roles and permissions.
Code
function og_group_entity_access($op, $group = NULL, $account = NULL) {
if (isset($group)) {
return $group
->access($op, $account);
}
return user_access('administer group');
}