Structs§

RoleQuery

Functions§

_add_routes
Add a route for each controller in this module.
authorize_role_management 🔒
fetch
GET /api/v0/main-frontend/roles - Get all roles for the given domain.
fetch_pending
GET /api/v0/main-frontend/roles - Get all pending roles for the given domain.
set
POST /api/v0/main-frontend/roles/add - Give a role to a user.
unset
POST /api/v0/main-frontend/roles/remove - Remove a role from a user.