DocScoDoc/docs/samples/sample_roles.json.md

517 B

roles

GET /roles

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