Hello, I am trying to make a query that'll require...
# prisma-whats-new
b
Hello, I am trying to make a query that'll require an
ADMIN
role to view
users
of an
Organization
, but allow any authenticated user to view
name
and
ID
. I am confused on how to do this. I thought maybe something like this would work
Copy code
- operation: Organization.read
    authenticated: true
    fields: [users]
    query: permissions/isOrgAdmin.graphql
  - operation: Organization.read
    authenticated: true
    fields: [id, name]
But no cigar.