I'm having problems with debugging a permission qu...
# prisma-whats-new
w
I'm having problems with debugging a permission query issue
I'm trying to create an
Event
. I get a generic
Insufficient permissions for this mutation
error when doing so.
When I try it in the playground, it fails with that error when selecting a specific user, but succeeds with the Admin user selected
I tried deleting the existing
Create Event
permission query, and adding a new one that allows everyone to create an event, and I'm still getting the permission query error
any pointers?
It seems like the thing blocking my creation of an
Event
was due to a permission on a nested mutation that occurs as part of creating an
Event
. I wish the error was more specific, telling me its a problem with creating a
Location
, rather than just saying its a problem with
createEvent
😓