Commit a90d5c21b55584572ff22d7a3affd84cd19d38d2
1 parent
2ddaf003
Exists in
master
and in
4 other branches
describe the project access level
the documentation mentions access_level as required parameter, but fails to list accepted values.
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
doc/api/projects.md
| @@ -107,6 +107,18 @@ Parameters: | @@ -107,6 +107,18 @@ Parameters: | ||
| 107 | Will return created project with status `201 Created` on success, or `404 Not | 107 | Will return created project with status `201 Created` on success, or `404 Not |
| 108 | found` on fail. | 108 | found` on fail. |
| 109 | 109 | ||
| 110 | +## Project access levels | ||
| 111 | + | ||
| 112 | +The project access levels are defined in the `user_project` class. Currently, 4 | ||
| 113 | +levels are recoginized: | ||
| 114 | + | ||
| 115 | +``` | ||
| 116 | + GUEST = 10 | ||
| 117 | + REPORTER = 20 | ||
| 118 | + DEVELOPER = 30 | ||
| 119 | + MASTER = 40 | ||
| 120 | +``` | ||
| 121 | + | ||
| 110 | ## List project team members | 122 | ## List project team members |
| 111 | 123 | ||
| 112 | Get a list of project team members. | 124 | Get a list of project team members. |