zenstack
zenstack copied to clipboard
Typescript toolkit on top of Prisma ORM, offering flexible and declarative Access Control Policy(Authorization/Permission) for RBAC/ABAC/PBAC/ReBAC with auto-generated type-safe APIs and frontend hook...
**Is your feature request related to a problem? Please describe.** In my docker image build pipeline, I need to run `zenstack generate` to generate zenstack files (enhance, etc). But I...
https://github.com/prisma/prisma/releases/tag/5.13.0
https://discord.com/channels/1035538056146595961/1232983567441723392
**Is your feature request related to a problem? Please describe.** Prisma itself does not offer programmatic access to its migration library, originally reported here: https://github.com/prisma/prisma/issues/4703 **Describe the solution you'd like**...
**Description and expected behavior** Example schema: ``` model User { id Int @id @default(autoincrement()) type String @@auth @@delegate(type) } model HappyUser extends User { veryHappy Boolean } model SadUser extends...
**Description and expected behavior** false error `values of "references" and "fields" must have the same type`, when the type actually the same and `zenstack generate` creates correct schema. this is...
Today a user must ensure that policy rules cover the cases of anonymous users (where `auth()` evaluates to null). This can be not obvious when comparing `auth()` with other (nullable)...
**Is your feature request related to a problem? Please describe.** Can we generate at the same time tRPC, REST, and GraphQL APIs?