authorize-resources
Installation
SKILL.md
Resource-Based Authorization in ABP
Standard ABP permissions are global ("can edit documents"). Resource-based authorization grants access to a specific instance ("can edit this document"). Use it for per-owner blog posts, team-scoped projects, document sharing with per-user access levels, or any ownership/sharing rule.
When to Use
- Access must depend on a specific entity instance, not a blanket permission.
- Per-owner or team-scoped resources (blog posts, projects, documents with per-user access levels).
- Admin-managed per-instance grants (Option 1 — ABP resource permissions).
- Rule-based access such as "owner or admin" evaluated in code (Option 2 — custom
AuthorizationHandler).
When Not to Use
- Global named permissions that apply the same to everyone ("can edit documents") — use the permissions-and-authorization skill instead.
- Configuring the auth server / login / token issuance (OpenIddict) — use the configure-openiddict-authentication skill.
- Refreshing claims mid-session without re-login — use the configure-dynamic-claims skill.