zenstack icon indicating copy to clipboard operation
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...

Results 178 zenstack issues
Sort by recently updated
recently updated
newest added

Hey ! The fix for #1400 seemed easy enough (I mean who get the chance to submit a one char PR ? 😄) so here it goes. The Prisma docs...

**Description and expected behavior** **Description** Prisma does not support have first-class support for [Postgres generated columns](https://www.postgresql.org/docs/13/ddl-generated-columns.html) but they still kind of work if you : - Write the migration yourself...

I have an enum with values from [Webflow's API](https://developers.webflow.com/data/reference/field-types-item-values#field-types) with all of the possible types ```typescript enum WebflowFieldType { Image RichText Link Switch Reference PlainText VideoLink MultiImage Email Phone Number...

**Is your feature request related to a problem? Please describe.** The method enhance requires user type that not exported. **Describe the solution you'd like** I'm needing define the same type....

in-progress

In V2, declarations are only resolved from directly imported schema files. This is generally fine, except for `auth()` - you'll need to import the schema containing `User` or `@@auth` model...

Would it be possible to allow for custom db ops so that they can be used with the RPC client? It seems that they're hard coded. For example, If I...

**Is your feature request related to a problem? Please describe.** While Zenstack is already offering great validation capabilities, it would be nice if it were possible to use Prisma enums...

Draft for Permissions checker / issue #242

![image](https://github.com/zenstackhq/zenstack/assets/104139426/d973a1ae-bbc9-4b8e-888d-87d208d7b86e)

```prisma model M1 { id String @id @default(uuid()) value Int m2 M2? @@allow('read', true) @@allow('update', value > 0 && future().m2.m3?[value > 0]) } model M2 { id String @id @default(uuid())...