function express_permissions_secure_permissions_roles in Express 7.2
Define site roles in code.
Create a secure_permissions_data module directory and place this function in secure_permissions_data.module.
Return value
An array defining all the roles for the site.
File
- modules/
custom/ express_permissions/ express_permissions.module, line 42 - Defines roles and permissions for the Express profile. Also used to alter some existing core and contrib permissions.
Code
function express_permissions_secure_permissions_roles() {
return array(
'anonymous user',
'authenticated user',
'edit_my_content',
'administrator',
'content_editor',
'developer',
'site_owner',
);
}