Authorization
Design and audit access control — deny-by-default, RBAC vs ABAC vs relationship-based models, object-level checks against IDOR/BOLA, tenant isolation, Postgres row-level security, policy engines and permission testing.
What it does
Design and audit access control — deny-by-default, RBAC vs ABAC vs relationship-based models, object-level checks against IDOR/BOLA, tenant isolation, Postgres row-level security, policy engines and permission testing.
- Category
- backendsecurityauth
- Platforms
- backendweb
- Frameworks and tools
- rbacabacopaopenfgacasbinpostgres-rls
- Capabilities
- architecturecode-generationreviewsecurity
Example tasks
- “Add role-based access with per-organization tenancy to a multi-tenant SaaS API.”
- “Audit every endpoint for broken object-level authorization (IDOR) and missing tenant filters.”
- “Model document sharing (owner, editor, viewer, group access) with a relationship-based policy.”
Works with
Permissions summary
Files
Reads files only
Shell
No shell commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/skills/<id>/SKILL.md |
| OpenAI Codex | Adapter | .codex/skills/<id>/SKILL.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Adapter | .github/instructions/<id>.instructions.md |
| Generic markdown | Adapter | docs/forgekit/skills/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (60 lines in total).
- 01Authorization
- 021. Principles
- 032. Pick the model
- 043. Procedure for a new protected endpoint
- 054. Tenant isolation
- 065. Tokens and claims
- 076. Testing and review
- 08Common mistakes
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — Authorization
1.0.0
- Initial release.