function forena_permission in Forena Reports 7
Same name and namespace in other branches
- 8 forena.module \forena_permission()
- 7.5 forena.module \forena_permission()
- 7.2 forena.module \forena_permission()
- 7.3 forena.module \forena_permission()
- 7.4 forena.module \forena_permission()
Implementation of hook_perm
Return value
unknown
File
- ./
forena.module, line 313
Code
function forena_permission() {
$perms = array(
'administer forena reports' => array(
'title' => t('Administer Forena Reports'),
),
'list reports' => array(
'title' => t('List reports'),
),
'create any report' => array(
'title' => t('Create a report'),
),
'design any report' => array(
'title' => t('Design reports'),
),
'delete report' => array(
'title' => t('Delete reports'),
),
'perform email merge' => array(
'title' => t('Peform email merge'),
),
);
//@TODO: Add the ability to create subrepositories with different permissions.
return $perms;
}