{"library":"prisma-rls","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.5.6","tags":["javascript","database","prisma","prisma-client","prisma-extension","rls","row-level-security","typescript"],"install":[{"cmd":"npm install prisma-rls","imports":["import { createRlsExtension } from 'prisma-rls';","import { PermissionsConfig } from 'prisma-rls';","import type { ExtensionOptions } from 'prisma-rls';"]},{"cmd":"yarn add prisma-rls","imports":[]},{"cmd":"pnpm add prisma-rls","imports":[]}],"homepage":"https://prisma-rls.vercel.app","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/prisma-rls","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/prisma-rls/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}