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** In prisma using `@@ignore` on a model seems to disable all model validation, which is not the case for zModel. The following model works fine in...

The current .count implementation (and probably other aggregate functions) create a different .where clause to findMany - this means that doing a .count and .where with the same inputs, could...

**Is your feature request related to a problem? Please describe.** The types do not prevent me from passing a plain PrismaClient instance where an Enhanced is expected. For example, the...

**Description and expected behavior** I'm attempting to implement a generic paginated function which returns the total, next cursor, and data. I'm finding that, because of my RLS settings for this...

I would like to rename the variable that zenstack uses for accessing the database in the trpc context on generated routes. By default it is hardcoded as "prisma", but in...

**Is your feature request related to a problem? Please describe.** Zenstack VSCode extension doesn't format access policy statements. ![Image](https://github.com/user-attachments/assets/cf060636-dbbb-4d55-b18a-52902d2cf9f1) ![Image](https://github.com/user-attachments/assets/f8adbf70-2ce8-407c-84fd-c7fa7acb11ac) **Describe the solution you'd like** Update the extension to support...

I saw this thread: https://github.com/zenstackhq/zenstack/issues/1935 Which appears to have been closed by a pull request, but running on latest Deno seems to get the latest problem which supposedly was fixed...

**Description and expected behavior** Adding the `@ignore` on a particular field should ignore that particular field _only_. But upon adding this various m-n relation types in the Kysely index file...

need-repro

Our project uses the REST API handler. It worked well until recently when we noticed our requests loading slow. The reason was that every response always includes all relationship ids....

Prisma had a feature some time ago that the order of Delete and Create in the same query should preserve - the same way the developer actually wrote it in...