DocScoDoc/docs/samples/sample_roles.json.md
2022-08-06 23:27:01 +03:00

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'
]
}
]
```