# (11) Permission

&#x20;         If the login user has the administrator role, he/she will have right to control the user types.

### Precondition <a href="#precondition" id="precondition"></a>

1. Choose the ***Permission***  module from the sub menu on the right side.

![](https://1647082252-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeQYbU-KxpyUFcYDmYP%2F-Lsgmx-v-pBaVmSVQ24v%2F-Lsgn3iPvAenBRJ8BuFG%2Fpermission.jpg?alt=media\&token=57e2d1d4-80fe-4398-a7e6-ab90fadddb15)

&#x20;           The existing levels/user roles are seen in the drop-down box named Level and a new one can be added by clicking ***" +"*** sign.

![](https://1647082252-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeQYbU-KxpyUFcYDmYP%2F-Lje89N6W_B4o9lS7tHI%2F-Lje94XbfOSmNm4Xo-jn%2Fpermission.PNG?alt=media\&token=9c7409ad-8a9c-4c59-91c3-cffb535c045c)

&#x20;               For the new user role, the administrator must specify the permission of each entity and the location type. For each entity, there are two types of permissions: access (All, Edit, Add, View, Delete) and control (Hierarchy and Self). The access permission (none, one, or all) can be joined with each of control permission. The possible combination of permission can see as follows.

|                   |           | ***Explanation***                                                                                                   |
| ----------------- | --------- | ------------------------------------------------------------------------------------------------------------------- |
| All               | -         | The user can edit, add, view and delete the entities.                                                               |
| Edit              | -         | The user can view and edit the existing entities.                                                                   |
| Add               | -         | The user can add a new entity.                                                                                      |
| View              | -         | The user can only view the existing entity.                                                                         |
| Delete            | -         | The user can view and delete the existing entities.                                                                 |
| All               | Hierarchy | The user can edit, add, view and delete the entity of the hierarchy.                                                |
| All               | Self      | The user can edit, add, view and delete the entity of him/her.                                                      |
| Edit              | Hierarchy | The user can view and edit the existing entity of the hierarchy.                                                    |
| Edit              | Self      | The user can view and edit the existing entity of him/her.                                                          |
| Add               | Hierarchy | The user can add a new entity of the hierarchy.                                                                     |
| Add               | Self      | The user can add a new entity of him/her.                                                                           |
| View              | Hierarchy | The user can only view the entity of the hierarchy.                                                                 |
| View              | Self      | The user can only view the entity of him/her.                                                                       |
| Delete            | Hierarchy | The user can delete the entity of the hierarchy.                                                                    |
| Delete            | Self      | The user can delete the entity of him/her.                                                                          |
| Edit & Add & View | Hierarchy | The user can edit, add and view the entity of the hierarchy.                                                        |
| Edit & Add & View | Self      | The user can edit, add and view the entity of him/her.                                                              |
| Edit & Add        | Hierarchy | The user can edit, add and also view the entity of the hierarchy.                                                   |
| Edit & Add        | Self      | The user can edit, add and also view the entity of him/her.                                                         |
| Edit & View       | Hierarchy | The user can edit and view the existing entity of the hierarchy. No new one can be created.                         |
| Edit & View       | Self      | The user can edit and view the existing entity of him/her.                                                          |
| Add & View        | Hierarchy | The user can only view the existing entity and add a new one of the hierarchy. Edit cannot be allowed in this case. |
| Add & View        | Self      | The user can only view the existing entity and add a new one of of him/her. Edit cannot be allowed in this case.    |

{% hint style="info" %}
Hierarchy means location-aware department hierarchy.&#x20;
{% endhint %}
