function apply_for_role_permission in Apply for role 7.2
Same name and namespace in other branches
- 7 apply_for_role.module \apply_for_role_permission()
Implements hook_permission().
File
- ./
apply_for_role.module, line 134 - Allows users to apply for roles.
Code
function apply_for_role_permission() {
return array(
'administer apply for role' => array(
'title' => t('Administer Apply for Role'),
'description' => t(''),
),
'view role applications' => array(
'title' => t('View role applications'),
'description' => t(''),
),
'approve role applications' => array(
'title' => t('Approve role applications'),
'description' => t(''),
),
'deny role applications' => array(
'title' => t('Deny role applications'),
'description' => t(''),
),
'delete role applications' => array(
'title' => t('Delete role applications'),
'description' => t(''),
),
'apply for roles' => array(
'title' => t('Apply for roles'),
'description' => t(''),
),
);
}