-
-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Description
Description and expected behavior
When a model has field level policies which reference other models through a relation, the relations are always selected, even if the relation field is not present in the original select.
Environment:
- ZenStack version: 2.11.5
- Prisma version: 6.3.1
- Database type: Postgresql
Additional context
getFieldReadCheckSelector (here) should probably use visitTarget to determine which of the fields with field level policies need to be checked.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels