add-authorization-methods
CommunityAdd entity-specific authorization methods.
Software Engineering#typescript#authorization#backend#ownership#permissions#sse#authorization-service
Authormadooei
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automates and enforces consistent authorization checks in the service layer by adding entity-specific methods to an AuthorizationService.
Core Features & Use Cases
- Adds canView{Entity}, canCreate{Entity}, canUpdate{Entity}, canDelete{Entity}, and canReceive{Entity}Event methods
- Works with owner-admin patterns and optional SSE event routing
- Integrates after resource service creation to ensure proper permissions across entities
Quick Start
Add the new entity's authorization methods to the AuthorizationService to enforce access control.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: add-authorization-methods Download link: https://github.com/madooei/backend-template/archive/main.zip#add-authorization-methods Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.