Roles
[roles]
0 = noRights
1 = basic
5 = editor
6 = pm
7 = admin
8 = api
The available roles in the application are defined through the used roles in the ACL table.
Beside of ACL table and the right system in some circumstances the users roles are directly checked for the roles a user have.
For that reason for each available role a PHP constant is set: ACL_ROLE_ROLENAME
Code Block | ||||
---|---|---|---|---|
| ||||
echo ACL_ROLE_PM;
//prints: pm |
By default this roles are available:
noRights, basic, editor, pm, admin, api
ACL resources
Resource | Descripion |
---|---|
frontend | resource for general frontend rights |
loadAllTasks | with this resource the role is able to see all tasks (should be converted to a right in the resource backend) |
adminUserFrontendController | giving a role this resource, enables the admin GUI (should be converted to a right in the resource backend) |
headPanelFrontendController | giving a role this resource, enables the head panel (should be converted to a right in the resource backend) |
userPrefFrontendController | giving a role this resource, enables user specific settings (should be converted to a right in the resource backend) |
taskOverviewFrontendController | giving a role this resource, enables the task overview (should be converted to a right in the resource backend) |
editAllTasks | with this resource, the user can edit a task without beeing associated with it. Frontend Right editorEditAllTasks is also required (should be converted to a right in the resource backend) |
getUpdateNotification | with this resource the user gets a notice if a new translate5 version is available (should be converted to a right in the resource backend) |
readAuthHash | with this resource the user is able to see the authHashes in the TaskUserAssoc entity (API usage) (should be converted to a right in the resource backend) |
backend | resource for general backend rights |
setaclrole | resource for define if the user can set/change acl role |
...