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