DocScoDoc/docs/samples/sample_roles.json.md

29 lines
478 B
Markdown
Raw Normal View History

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