function domain_entity_permission in Domain Access Entity 7
Implements hook_permission().
Define domain entity permissions.
File
- ./
domain_entity.module, line 54 - Defines field (e.g. domain_entity) for entities, and access query alter.
Code
function domain_entity_permission() {
return array(
'access entities affiliate on assigned domains' => array(
'title' => t("access and filter entities affiliate on user's assigned domains"),
'description' => t('Allow an editor of multiple domains to access entities on different domain.'),
'restrict access' => TRUE,
),
'set domain access status for all entities' => array(
'title' => t('Set domain access status for all entities'),
'description' => t('Allow editor to edit & set domain access for all entities type.'),
'restrict access' => TRUE,
),
);
}