DocScoDoc/docs/samples/sample_roles_list.json.md

702 B

roles_list

GET /roles

[
    {
        "id": 1,
        "permissions": [
            "ViewEtudData",
            "EtudAddAnnotations",
            "AbsAddBillet",
            "AbsChange",
            "UsersView",
            "Observateur",
            "EnsView",
            "ScoView"
        ],
        "role_name": "Ens"
    },
    {
        "id": 2,
        "permissions": [
            "ViewEtudData",
            "EditApogee",
            "EtudAddAnnotations",
            "EtudChangeAdr",
            "AbsAddBillet",
            "AbsChange",
            "UsersView",
            "Observateur",
            "ScoView"
        ],
        "role_name": "Secr"
    },
    "..."
]