2022-08-06 22:27:01 +02:00
|
|
|
### roles
|
|
|
|
|
|
|
|
`/api/roles/`
|
|
|
|
|
|
|
|
```json
|
|
|
|
[
|
|
|
|
{
|
|
|
|
'id': 1,
|
2022-08-09 20:27:32 +02:00
|
|
|
'role_name': 'Observateur',
|
2022-08-06 22:27:01 +02:00
|
|
|
'permissions': ['ScoObservateur'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'id': 2,
|
2022-08-09 20:27:32 +02:00
|
|
|
'role_name': 'Ens',
|
2022-08-06 22:27:01 +02:00
|
|
|
'permissions': [
|
|
|
|
'ScoEntrepriseView',
|
|
|
|
'ScoEtudAddAnnotations',
|
|
|
|
'ScoAbsAddBillet',
|
|
|
|
'ScoAbsChange',
|
|
|
|
'ScoUsersView',
|
|
|
|
'ScoObservateur',
|
|
|
|
'ScoEnsView',
|
|
|
|
'ScoView'
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
```
|