Company Roles
The module vocabulary for the editor
Every module a company role may contain, with its pt-PT label AND the rules needed to predict what granting it will actually do.
Pure vocabulary, so the derivation lives in app/permissions/modules.py beside the constants and the gate that reads them — this handler is the HTTP half and nothing else (house rule). See modules.module_catalog for why the implication rules are on the wire rather than re-declared in JavaScript.
[{"key": "modulo.avaliador", "label": "Avaliador de Viaturas",
"ungateable": false, "implies": ["modulo.viaturas"], "implied_by": []},
{"key": "modulo.viaturas", "label": "Viaturas",
"ungateable": false, "implies": [], "implied_by": ["modulo.avaliador"]},
{"key": "modulo.suporte", "label": "Suporte",
"ungateable": true, "implies": [], "implied_by": []},
...]
get/api/company-roles/catalog
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/company-roles/catalog
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Headers
x-api-tokenstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 21 revisions of this API.