Roles with their grants
GET/admin/roles
The three roles and what each currently grants. The grants come from the database rather than a table in Go, because the roles screen exists to change them and a hardcoded matrix would make that screen a lie.
Roles are the INSTANCE's, not a casino's — the same three everywhere. The
casino in X-Tenant-Id is still required, because it is what the caller's own
permission to read them is resolved against.
Permission: roles.read
Request
Responses
- 200
- 400
- 401
- 403
- 404
The roles
X-Tenant-Id is missing
No session cookie, or it expired
The role lacks roles.read, or the caller is not a member of this casino
No such casino