DocAssiduites/docs/samples/sample_roles.json.md

29 lines
488 B
Markdown
Raw Normal View History

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