技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
nestjs-security-isolation【数据与研究】Enforce multi-tenant isolation and PostgreSQL Row Level Security in NestJS. Use when enforcing tenant isolation or PostgreSQL RLS in NestJS multi-tenant apps.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Strict multi-tenant isolation. All child-centric data must secured via PostgreSQL RLS and service-level validation.
ENABLE ROW LEVEL SECURITY. Define policies using current_setting('app.current_user_id').@Security JSDoc to entity class.SECURITY.md with new table and its access logic.childrenService.validateChildAccess(childId, userId) before any persistence operation.child or family MUST RLS enabled in its creation migration.ChildrenService for child/family membership checks.SECURITY.md source of truth. Any change to RLS policies must reflected there immediately./children/:childId/....SECURITY.md and entity JSDoc./domain/:id for child data. Always scope by :childId.