DocScoDoc/docs/samples/sample_roles.json.md
2022-08-09 21:27:32 +03:00

488 B

roles

/api/roles/

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