Recalls — permissions
Scaffolded stub — replace with proper documentation when this module is next touched.
Returned by RecallsModule.get_permissions() (relative names; the registry namespaces them as recalls.<name>).
| Permission | Allows | Required by |
|---|---|---|
recalls.read | Describe what this allows. | List the endpoints. |
recalls.write | Describe what this allows. | List the endpoints. |
recalls.delete | Describe what this allows. | List the endpoints. |
Role assignment
See backend/app/core/auth/permissions.py for the canonical role table.
Adding a new permission
- Add the relative name to
get_permissions()inbackend/app/modules/recalls/__init__.py(ormodule.py). - Add the namespaced form to the relevant role(s) in
backend/app/core/auth/permissions.py. - Add a row to the table above.
- Annotate the endpoint(s) with
Depends(require_permission(...)). - Update
frontend/app/config/permissions.tsif it gates UI.