Preparing for system design interviews?  Try bugzed.com →

Prisma Row-Level Security Extension

JSON →
library 0.5.6 ·javascript
verified Jun 17, 2026

prisma-rls is a Prisma client extension designed to implement row-level security (RLS) on any database, including those without native RLS support (e.g., MySQL). It achieves this by automatically injecting 'where' clauses into all Prisma model queries, effectively filtering data based on defined permissions. The current stable version is `0.5.6`. The package shows active development with frequent minor releases and bug fixes, indicated by the recent changelog entries. A key differentiator is its database-agnostic approach, allowing RLS where it wouldn't natively exist, and its integration directly into the Prisma client query pipeline. It ships with TypeScript types, providing a type-safe way to define permissions configurations and contexts. It's crucial to note that this extension does not apply to raw database queries, which require manual handling.

total hits 14
actors 5 distinct systems
last hit 20d ago AhrefsBot
GPTBot
4
Amazonbot
4
Script
1
ChatGPT-User
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇵🇱 Poland