function oa_core_og_perm_ctools_access_summary in Open Atrium Core 7.2
Provide a summary description based upon the checked permissions.
1 string reference to 'oa_core_og_perm_ctools_access_summary'
- oa_core_og_perm.inc in plugins/
access/ oa_core_og_perm.inc - Plugin to provide access control based on user permission strings in a group. Taken from Organic Groups but modified to work on nodes that are Group Content
File
- plugins/
access/ oa_core_og_perm.inc, line 78 - Plugin to provide access control based on user permission strings in a group. Taken from Organic Groups but modified to work on nodes that are Group Content
Code
function oa_core_og_perm_ctools_access_summary($conf, $context) {
list($user_context, $node_context) = $context;
$permissions = og_get_permissions();
return t('@identifier has "@perm in @group space"', array(
'@identifier' => $user_context->identifier,
'@perm' => $permissions[$conf['perm']]['title'],
'@group' => $node_context->identifier,
));
}