Skip to content

Add @nestarc/tenancy module for multi-tenancy support#367

Open
ksyq12 wants to merge 1 commit into
nestjs:masterfrom
ksyq12:add-nestarc-tenancy
Open

Add @nestarc/tenancy module for multi-tenancy support#367
ksyq12 wants to merge 1 commit into
nestjs:masterfrom
ksyq12:add-nestarc-tenancy

Conversation

@ksyq12

@ksyq12 ksyq12 commented Apr 7, 2026

Copy link
Copy Markdown

Added a new module for PostgreSQL Row Level Security based multi-tenancy support.

Pull Request

Type of Change

  • Adding a new resource
  • Updating an existing resource
  • Removing an outdated resource
  • Fixing a bug (broken link, typo, etc.)
  • Other (please describe)

Description

Add @nestarc/tenancy to the Multi Tenancy section. A PostgreSQL RLS-based multi-tenancy module for NestJS with Prisma Client Extensions and AsyncLocalStorage.

Checklist

Please ensure your PR meets the following requirements:

  • I have read the contribution guidelines
  • The resource I'm adding has at least 10 GitHub stars (if applicable)
  • The link I'm adding is working and points to the correct resource
  • I have placed the resource in the appropriate category
  • The description is clear and concise
  • I have followed the existing format:
    • - [Name](URL) - Description.
    • For libraries with star badges: - ![](star-badge-url) [Name](URL) - Description.

Resource Details (if adding a new resource)

  • Name: @nestarc/tenancy
  • URL: https://github.com/nestarc/nestjs-tenancy
  • Category: Components & Libraries > Multi Tenancy
  • GitHub Stars (if applicable): 0 (newly published)
  • Why is this resource valuable to the NestJS community? The only NestJS multi-tenancy module that enforces tenant isolation at the PostgreSQL level using Row Level Security (RLS) with Prisma support. Complements the existing nestjs-mtenant (Sequelize/TypeORM-based) by covering the Prisma ecosystem with a fail-closed security model.

Added a new module for PostgreSQL Row Level Security based multi-tenancy support.
@micalevisk micalevisk added the Less than 10 stars Less than 10 stars label Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Less than 10 stars Less than 10 stars

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants