hasura / graphql-engine-heroku

Blazing fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events.
https://hasura.io
231 stars 238 forks source link

'no mutations exist' when using a valid role #105

Closed hevans90 closed 3 years ago

hevans90 commented 3 years ago

I am stumped here. I recently moved from Hasura cloud to Heroku, and had some basic role-based stuff setup that I ported over. For some reason I now can never see any mutations in the root, for any role except 'admin', anyone know what's going on?

Queries/Subscriptions work fine, and changing permissions for select on a given table updates the GraphQL API fine for my 'user' role, but modifying insert/update/delete do not reveal any mutations in the root. This worked perfectly fine on Hasura cloud, and I don't know what I am doing wrong.

image

hevans90 commented 3 years ago

Disabling the inherited roles feature fixed this. Weird.