29 lines
488 B
Markdown
29 lines
488 B
Markdown
### roles
|
|
|
|
`/api/roles/`
|
|
|
|
```json
|
|
[
|
|
{
|
|
'id': 1,
|
|
'role_name': 'Observateur',
|
|
'permissions': ['ScoObservateur'
|
|
]
|
|
},
|
|
{
|
|
'id': 2,
|
|
'role_name': 'Ens',
|
|
'permissions': [
|
|
'ScoEntrepriseView',
|
|
'ScoEtudAddAnnotations',
|
|
'ScoAbsAddBillet',
|
|
'ScoAbsChange',
|
|
'ScoUsersView',
|
|
'ScoObservateur',
|
|
'ScoEnsView',
|
|
'ScoView'
|
|
]
|
|
}
|
|
]
|
|
```
|