erify-authorization

Community

Enforce robust authorization in erify_api.

Authorallenlin90
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Patterned authorization for erify_api to enforce isSystemAdmin bypass, StudioMembership validation, and planned RBAC references to secure admin and studio-scoped actions.

Core Features & Use Cases

  • AdminGuard integration with role-agnostic checks, by-explicit permission requirements
  • StudioProtected and StudioGuard to validate studio membership and roles
  • Scalable patterns for multi-scope access (system-wide, studio, client)
  • Guidance on future enhancements like JSONB roles and permissions

Quick Start

Configure AdminGuard and decorators in NestJS controllers to enforce studio-scoped permissions for new endpoints.

Dependency Matrix

Required Modules

None required

Components

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: erify-authorization
Download link: https://github.com/allenlin90/eridu-services/archive/main.zip#erify-authorization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.