Pular para o conteúdo principal

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

The roles