Skip to content

@deny('read') Field Policy - Not Reading Data #1528

Closed
@milimyname

Description

@milimyname

Description and expected behavior
Thank u for the great library. After #1452 which was solved in @2.1.1 but now members cannot get any data.

job @deny("read, update", space.memberships?[auth() == user && !(role in [owner, admin, roleManager])])

Environment (please complete the following information):

  • ZenStack version: 2.2 and 2.1
  • Prisma version: 5.15
  • Database type: Postgresql

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions