Rank 1: Thread
I have document level security on and want to implement simple sharing mechanism in app I'm building when a record represented by Appwrite document can be made visible for another user. I created code for creating a document which works fine when operating logged user's ID (I can set permissions for logged user for read/update/delete without issues with this code), but as soon as I add a read permission for another user to the permissions array, I have appwrite exception, see the screenshot. Is it not allowed to set permissions for other users from client side even if it's read-only? If this is indeed the cause, what is the best way to implement per-user and per-document sharing mechanism? Thanks.