
Hey ! I have a collection with document level protection. My permission levels are something like Admin - Group[N] - SubGroup[N]
When the end user from SubGroup[N] creates a document, i need to make sure that the parent group can read/write it as well - but none of the parallele sub-groups. Since the user is Not a member of Group[N] - He cant Set these permissions.
What are the best practices doing so?
i thought of
- Save the document using the API key -> dangerouse -> security must be controlled on my app. to avoid such fake requests
- create an Appwrite function -> After creating, the document - the function will add the parents groups
Any other ideas?
Recommended threads
- Queries Length Error.
Hi All, I am having a issues across my app with how i am getting data, and just wanted to check if this was an issues with the new changes on appwrite over the...
- Realtime is not working!!
It shows `Session is not valid`. I am using SSR login. If if set table permission `User(Read)` then realtime can not show update. But if I set table permission...
- My projects archived. Did not see the up...
Kindly restore project for me: 67680a26001bdf36beb8 You can delete: 678c96ba00305f78bb13 675d05040004853fb43f
