forked from doccano/doccano
-
Notifications
You must be signed in to change notification settings - Fork 3
Roles Permissions Matrix
Razi Rais edited this page Jul 22, 2019
·
22 revisions
The following table represents logical association b/w roles and permissions in doccano.
Permissions(P) are represented by the rows and Roles(R) by the columns.
*Not currently available but can be added.
P ↓ / R → | Label Manager | Label Reviewer | Data Manager | Project Admin | Annotator |
---|---|---|---|---|---|
Can add label | x | ||||
Can change label | x | x | |||
Can delete label | x | ||||
Can view label | x | x | |||
Can export data* | x | ||||
Can import data* | x | ||||
Can add project | x | ||||
Can view project | x | ||||
Can change project | x | ||||
Can delete project | x | ||||
Can add document annotation | x | ||||
Can view document annotation | x | ||||
Can change document annotation | x | ||||
Can delete document annotation | x |
Currently following permissions are implemented in doccano:
Permission | Condition |
---|---|
IsProjectUser | User has access to the project. |
IsAdminUserAndWriteOnly | Request is of type 'GET' or 'HEAD' or 'OPTIONS'. If not then user must have is_staff level access. |
IsOwnAnnotation | Validate user access to the annotation. |
IsAuthenticated | User is authenticated. |