I'm trying to use permissions query to allow document creator or admin only to update document
I've 3 roles as enum [ADMIN, USER, CREATOR]
My problem is when using the below query:
- I got an error even when running it as ADMIN user in playground
- Always succeed if I changed ADMIN to CREATOR