Join GitHub today
Cognito superuser group or user 'type' #217
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
I'm looking for something similar to this. I tried getting it to work by adding multiple rules to my GraphQL schema, in the hopes that it would auth owner OR groups:
but Mutation (create) as an owner fails with an Unauthorized error since it only checks if the user is in one of the allowed groups - (owner is required but it never sets
The Query resolvers (get, list) look like they will work fine since it checks owner OR group by each individually setting