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,
|
|
|
|
"role_name": "Observateur",
|
|
|
|
"permissions": [
|
|
|
|
"ScoObservateur"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"role_name": "Ens",
|
|
|
|
"permissions": [
|
|
|
|
"ScoEntrepriseView",
|
|
|
|
"ScoEtudAddAnnotations",
|
|
|
|
"ScoAbsAddBillet",
|
|
|
|
"ScoAbsChange",
|
|
|
|
"ScoUsersView",
|
|
|
|
"ScoObservateur",
|
|
|
|
"ScoEnsView",
|
|
|
|
"ScoView"
|
|
|
|
]
|
2022-08-06 22:27:01 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
```
|
2022-08-11 18:19:20 +02:00
|
|
|
|