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
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Create a new paid tier
Current pricing seems reasonable enough about what is someone getting for 25$. But for some people most of these resouces are getting wasted. Like the bandwidt...