{"title":"Custom Prisma Client for RLS","provider_url":"https://hatena.blog","blog_title":"Beatrust techBlog","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/158188887/1629906931181253","version":"1.0","author_name":"NeoJRotary","type":"rich","width":"100%","categories":["TypeScript","Node.js"],"blog_url":"https://tech.beatrust.com/","url":"https://tech.beatrust.com/entry/custom-prisma-client-for-rls","description":"Author: Neo Chiu Background We use Prisma + Postgres from prototype and start to migrate all data with RLS ( Row Level Security ) last year. We are managing multi-tenants data in one database, and we don't want data be accessed cross tenants. RLS restricts data with security policies at database eng\u2026","author_url":"https://blog.hatena.ne.jp/NeoJRotary/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.beatrust.com%2Fentry%2Fcustom-prisma-client-for-rls\" title=\"Custom Prisma Client for RLS - Beatrust techBlog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","height":"190","published":"2022-06-07 11:00:00"}