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

478 B

roles

/api/roles/

[
    {
        'id': 1, 
        'name': 'Observateur', 
        'permissions': ['ScoObservateur'
        ]
    },
    {
        'id': 2,
        'name': 'Ens',
        'permissions': [
            'ScoEntrepriseView',
            'ScoEtudAddAnnotations',
            'ScoAbsAddBillet',
            'ScoAbsChange',
            'ScoUsersView',
            'ScoObservateur',
            'ScoEnsView',
            'ScoView'
        ]
    }
]