
# Role Base Access Control - RBAC

The principal element inside Screening System is the recruitment processes. For this reason we defined the permission rules according to this.
The definition for the permissions follow the next rules:
```
[section]:[status|type]:[actions]
```
You can use the modifier "all" in order to give total magments over the permission

Examples:

The user root will have the permission 
```
all:all:all
```
This permission should be read as "The user can use the edit button on to the dashboard section on active recruitment processes tab"
```
dashboard:active:edit
```
This permission should be read as "The user can use all actions on to the dashboard section on active recruitment processes tab"
```
dashboard:active:all
```
This permission should be read as "The user can use all actions on to the recruitment process section on stages with form type"
```
recruitmentProcess:form:all
```


## Permissions

The next list contains all the permissions currently defined:

| Permission | Description |
|----------|-----------|
| all:all:all | All the permissions, root access|
| screening:global:languages | Capability to visualize labels languages |
| dashboard:global:organization | In dashboard has access for all the countries |
| dasboard:inRevision:active | In dashboard on status Draft can send a recruitment process from In Revision to Active (Production) |
| dashboard:draft:inRevision | In dashboard on status Draft can send a recruitment process from Draft to In Revision|
| dashboard:draft:edit | In dashboard... |
| dashboard:draft:clone |  |
| dashboard:draft:delete |  |
| dashboard:draft:auiTest |  |
| dashboard:draft:amdTest |  |
| dashboard:inRevision:active | In dashboard on status In Revision can send a recruitment process from In Revision to Active (Production) |
| dashboard:inRevision:draft |  |
| dashboard:inRevision:edit |  |
| dashboard:inRevision:auiTest |  | 
| dashboard:inRevision:amdTest |  |
| dashboard:active:inactive |  |
| dashboard:active:clone |  |
| dashboard:active:archive |  |
| dashboard:active:auiProd |  |
| dashboard:active:amdProd |  |
| dashboard:inactive:edit |  |
| dashboard:inactive:clone |  |
| dashboard:inactive:archive |  |
| dashboard:archive:clone |  |
| dashboard:general:newRP |  |
