2022-08-06 22:27:01 +02:00
|
|
|
### roles
|
|
|
|
|
2022-08-11 18:19:20 +02:00
|
|
|
#### GET /roles
|
2022-08-06 22:27:01 +02:00
|
|
|
```json
|
|
|
|
[
|
|
|
|
{
|
2022-08-11 18:19:20 +02:00
|
|
|
"id": 1,
|
|
|
|
"permissions": [
|
2023-09-30 10:06:15 +02:00
|
|
|
"Observateur"
|
2022-08-21 12:13:57 +02:00
|
|
|
],
|
|
|
|
"role_name": "Observateur"
|
2022-08-11 18:19:20 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"permissions": [
|
|
|
|
"ScoEntrepriseView",
|
|
|
|
"ScoEtudAddAnnotations",
|
|
|
|
"ScoAbsAddBillet",
|
|
|
|
"ScoAbsChange",
|
2023-09-30 10:06:15 +02:00
|
|
|
"UsersView",
|
|
|
|
"Observateur",
|
|
|
|
"EnsView",
|
2022-08-11 18:19:20 +02:00
|
|
|
"ScoView"
|
2022-08-21 12:13:57 +02:00
|
|
|
],
|
|
|
|
"role_name": "Ens"
|
2022-08-19 11:47:13 +02:00
|
|
|
},
|
2022-08-21 12:13:57 +02:00
|
|
|
"..."
|
2022-08-06 22:27:01 +02:00
|
|
|
]
|
|
|
|
```
|
2022-08-11 18:19:20 +02:00
|
|
|
|