I'm not understanding this when I'm creating permi...
# prisma-whats-new
l
I'm not understanding this when I'm creating permissions for updating a user:
No fields can be effected by this permission, as mutation permissions can't be applied to readonly fields
n
@lastmjs this means that there are only readonly fields available
@lastmjs on the type
id, createdAt, updatedAt and relation fields
l
Got it, what about the email and password fields that were added when I turned on that auth?
It would to have an indication of which fields are readonly and which aren't, perhaps in the schema with a directive or something
And if email and password are readonly, how will I ever update a user's password, or less likely, email?
n
that's something we're looking to add very very soon simple smile
👍 2
a
Well, those fields have 🔒 next to them indicating them as system fields (which are read-only from user perspective, e.g. cannot be modified directly)
👍 1
l
I see that now. I'm not working with the GUI much though for my schema, it would be nice to see that in the schema definition itself with a custom directive
👍 1
a
+1 from me on that one...