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

**Description and expected behavior** Hi, i have a model in the schema that looks like ```graphql model alembic_version { version_num String @id(map: "alembic_version_pkc") @db.VarChar(32) } ``` This throws an error...

**Description and expected behavior** I saw that @zenstackhq/runtime replaced decimal.js with its light version. This breaks the compatibility with Prisma. I use nextjs app router with prisma on server-side and...

Self one to one/one to many recursive query is something that a lot of people wanted: https://github.com/prisma/prisma/issues/4562 Someone posted also an extension for it (last comment in the github issue):...

**Description and expected behavior** If you specify `@@auth` on a model but also have a `User` model defined, Zenstack uses the `User` model for the `AuthUser` type. ``` model AuthUser...

**Description and expected behavior** 1. Create a sample Turborepo project using the "with-prisma" example, [instructions here](https://turbo.build/repo/docs/getting-started/installation#start-with-an-example). i.e. `pnpm dlx create-turbo@latest --example with-prisma`. _Be sure to select pnpm_ for the package...

As explained in [this blog post](https://zenstack.dev/blog/check-function), the `check()` function is a great way to simplify access rules with complex sets of models. However it is not implemented yet for to-many...

Prisma team clearly did not understand the popularity of this request (Postgis) or does not have resources to implement this request, I wonder if zenstack have a smart way to...

I have configured zenstack for nuxt js and I am using the tanstack-query plugin. I would like to fetch data using `useFindMany{}` and in the where clause set the value...

![image](https://github.com/user-attachments/assets/b2b50944-1901-4b88-b046-646f00b24fca) - User schema : ```prisma model User { id String @id @default(uuid()) @db.Uuid username String @unique email String @unique password String firstName String @allow('read', auth().role == STUDENT && auth().teacher.userId...

**Description and expected behavior** When using `RestApiHandler` with `NextRequestHandler` delete operations are failing. RestApiHandler is returning `undefined` on the body after successful delete. Then NextRequestHandler is trying to serialize it...