erify-authorization
erify_api Authorization Patterns
This skill provides erify_api-specific authorization implementation patterns, centered on current isSystemAdmin + StudioMembership behavior, with planned RBAC patterns kept as future-reference only.
Read this skill for current erify_api authorization behavior first. Load the planned-RBAC sections only when the task is explicitly about future authorization design.
Related references
- Authorization Guide
- Architecture Overview
authentication-authorization-nestjsfor broader auth guidancebackend-controller-pattern-nestjsfor controller/decorator usage
Implementation Status
[!IMPORTANT] Not all patterns in this skill are implemented. Check the status below before using a pattern.
More from allenlin90/eridu-services
service-pattern-nestjs
Comprehensive NestJS service implementation patterns. This skill should be used when implementing Model Services, Orchestration Services, or business logic with NestJS decorators.
8data-validation
Provides comprehensive guidance for input validation, data serialization, and ID management in backend APIs. This skill should be used when designing validation schemas, transforming request/response data, mapping database IDs to external identifiers, and ensuring type safety across API boundaries.
6code-quality
Provides general code quality and best practices guidance applicable across languages and frameworks. Focuses on linting, testing, and type safety.
6repository-pattern-nestjs
Comprehensive Prisma repository implementation patterns for NestJS. This skill should be used when implementing repositories that extend BaseRepository or use Prisma delegates.
6task-template-builder
Provides guidelines for the Task Template Builder architecture, including Schema alignment, Draft storage, Drag-and-Drop, and Validation logic.
6jsonb-analytics-snapshot
Defines the JSONB Analytics Snapshot Pattern. This skill should be used when implementing analytics, dashboards, or any feature requiring aggregation of historical/immutable data where high read performance is required.
6