Hey, something I've been struggling with is that i...
# prisma-whats-new
b
Hey, something I've been struggling with is that in the docs it mentions that I have to make the createUser mutation accessible by everyone, yet I can't find where to adjust the permissions for those? In the console I only find the settings to adjust permissions for Types and Relations?...
n
@busk hey, nice find I should probably explain it differently
you need to have a permission on the
User
type for
CREATE
🙂
b
I've set those and the user gets created, but the Apollo Client still throws an error of insufficient permissions?!...
n
yea that's probably about the return values then
what are you returning in the mutation?
b
oh, the id... I see, I need to enable read as well. Thanks! I'm still new to GraphQL 🙂
n
yea in this case it's definitely a case of lacking docs on our end, sorry about that! Will try to improve it soon
b
No, it actually is written there. It was a case of "I didn't fully understand what's going on" 😄 Second day of GraphQL...
n
haha no worries! let us know how we can help you out