Skip to main content

rbac-authz

Authorization in RedAmon: who may reach a project and at which level, what a non-owner may read of it, whose data a request touches (the tenant, the project's owner) against who acts (the person), and the static tests and switches every change meets. One policy lives in webapp/src/lib/authz/; a check written anywhere else is a second policy that the next sharing or permission change silently misses. Trigger: editing webapp/src/lib/authz/; adding a route.ts under webapp/src/app/api/ or changing its requirePermission / withPermission / requireLevel call; editing routeManifest.ts, scripts/gen-route-manifest.mjs or tests/fixtures/rbac_matrix/; editing a share, consent, transfer or revocation path; minting or reading a ticket, call token or run credential (webapp/src/lib/auth.ts, webapp/src/lib/plugins/callToken.ts, agentic/ws_ticket.py, agentic/machine_credential.py); editing webapp/src/app/api/graph-views/execute/injectProjectFilter.ts or graph_db/tenant_filter.py.

Source facts

samugit83

Repository samugit83/redamon

Last source activity
November 23, 2026 at 05:20
Detected SKILL.md language
English
Stars
3,489
Forks
750

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
namerbac-authz
descriptionAuthorization in RedAmon: who may reach a project and at which level, what a non-owner may read of it, whose data a request touches (the tenant, the project's owner) against who acts (the person), and the static tests and switches every change meets. One policy lives in webapp/src/lib/authz/; a check written anywhere else is a second policy that the next sharing or permission change silently misses. Trigger: editing webapp/src/lib/authz/; adding a route.ts under webapp/src/app/api/ or changing its requirePermission / withPermission / requireLevel call; editing routeManifest.ts, scripts/gen-route-manifest.mjs or tests/fixtures/rbac_matrix/; editing a share, consent, transfer or revocation path; minting or reading a ticket, call token or run credential (webapp/src/lib/auth.ts, webapp/src/lib/plugins/callToken.ts, agentic/ws_ticket.py, agentic/machine_credential.py); editing webapp/src/app/api/graph-views/execute/injectProjectFilter.ts or graph_db/tenant_filter.py.