Browse Source

add slug role and slug profile to doc

Guénaël Muller 5 years ago
parent
commit
cede1db1ae
1 changed files with 12 additions and 0 deletions
  1. 12 0
      backend/doc/roles.md

+ 12 - 0
backend/doc/roles.md View File

@@ -7,6 +7,11 @@ The other is workspace related and is called "workspace role".
7 7
 
8 8
 ## Global profile
9 9
 
10
+|                               | Normal User | Managers    | Admin          |
11
+|-------------------------------|-------------|-------------|----------------|
12
+| slug                            | users       | managers    | administrators |
13
+|-------------------------------|-------------|-------------|---------|
14
+
10 15
 
11 16
 |                               | Normal User | Managers    | Admin   |
12 17
 |-------------------------------|-------------|-------------|---------|
@@ -22,11 +27,18 @@ The other is workspace related and is called "workspace role".
22 27
 | access to all user data (/users/{user_id} endpoints) |personal-only|personal-only| yes     |
23 28
 
24 29
 
30
+
31
+
25 32
 ## Workspace Roles
26 33
 
27 34
 
28 35
 |                              | Reader | Contributor | Content Manager | Workspace Manager |
29 36
 |------------------------------|--------|-------------|-----------------|-------------------|
37
+| slug                         | reader | contributor | content-manager |  workspace-manager|
38
+|------------------------------|--------|-------------|-----------------|-------------------|
39
+
40
+|                              | Reader | Contributor | Content Manager | Workspace Manager |
41
+|------------------------------|--------|-------------|-----------------|-------------------|
30 42
 | read content                 |  yes   | yes         | yes             | yes               |
31 43
 |------------------------------|--------|-------------|-----------------|-------------------|
32 44
 | create content               |  no    | yes         | yes             | yes               |