Hello, how can I create permission queries? For ex...
# prisma-whats-new
g
Hello, how can I create permission queries? For example, I want to make sure users own the posts that they create, and that a user cannot delete someone else's post. I've checked the cms tutorial, which contains some example queries, but I don't see how to apply them. Thanks!
n
@grimborg cheers! 🙂 This will be released (very) soon 😉
also, you can't really express this directly:
that a user cannot delete someone else's post.
you would rather only allow users to delete their own post. 🙂
g
Ha, good to know! Thanks for the swift reply and for the good work! 🙂
n
hope the difference here is clear
g
I see!
n
sure, no problem 🙂