Source code for app.domain.accounts.controllers.roles
"""Role Routes."""
from __future__ import annotations
from litestar import Controller
from app.domain.accounts.guards import requires_superuser
[docs]
class RoleController(Controller):
"""Handles the adding and removing of new Roles."""
tags = ["Roles"]
guards = [requires_superuser]