DocScoDoc/docs/samples/sample_roles_list.json.md

39 lines
702 B
Markdown
Raw Normal View History

2024-07-27 13:34:32 +02:00
### roles_list
#### GET /roles
```json
[
{
"id": 1,
"permissions": [
"ViewEtudData",
"EtudAddAnnotations",
"AbsAddBillet",
"AbsChange",
"UsersView",
"Observateur",
"EnsView",
"ScoView"
],
"role_name": "Ens"
},
{
"id": 2,
"permissions": [
"ViewEtudData",
"EditApogee",
"EtudAddAnnotations",
"EtudChangeAdr",
"AbsAddBillet",
"AbsChange",
"UsersView",
"Observateur",
"ScoView"
],
"role_name": "Secr"
},
"..."
]
```