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 261 zenstack issues
Sort by recently updated
recently updated
newest added

We can introduce a pure "type" construct into ZModel to complement the "model" construct. Contrary to "model", "type"s are not mapped to database tables and are purely for type-checking purposes....

in-progress
feedback

ZenStack currently supports four permission kinds: `create`, `read`, `update`, and `delete`. There are use cases where we want to allow users to read specific entities but want to deny fetching...

This will eliminate the need to manually add "zenstack generate" into deployment script.

On behalf of `fox` on Discord. ```prisma // user.zmodel import "storage" @@@schema("public") model User { ... } model Post { images Image[] } ``` ```prisma // storage.zmodel @@@schema("storage") model Image...

Taking the example here: https://zenstack.dev/docs/reference/zmodel-language#a-more-complex-example-with-multi-user-spaces I would like to prevent deletions of the member who is also the space owner. Within `model Membership`: ``` @@deny('delete', space.owner == user) ``` I...

**Is your feature request related to a problem? Please describe.** Currently, I still have to run all `args` and `findManyArgs` instances through a resolver to set a `take` value based...