multi-tenant-architecture

Official

Keep tenant data isolated via org-scoped queries.

AuthorFivents
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures all operations are scoped by organizationId to prevent cross-tenant data leakage.

Core Features & Use Cases

  • Enforces organization-based data isolation across queries and mutations.
  • Provides guardrails to validate membership before data access and to avoid trusting client-provided organizationId.
  • Applies consistent Prisma patterns to scope data by organizationId in common models such as Event, Person, Membership, Totem subscriptions.

Quick Start

Configure your data access layer to always scope queries by organizationId and validate membership before access.

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: multi-tenant-architecture
Download link: https://github.com/Fivents/one-id/archive/main.zip#multi-tenant-architecture

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 471,000+ vetted skills library on demand.