
Hello, I need some advice on how to manage some permissions on documents.
I have built an app for Party Planning. Multiple companies would use the app to manage their events. I am using one Database store store all the companies data and the reason is in this industry some employess work for multiple companies so they would pull up all the events that they are assigned to work which sometimes is for many companies.
The flow would be Companies that sign up for the app, would be a "Team", and would be assigned a 'owner' role on that team, They would be able to invite a sub contracted employee an add them to their team as a "staff" role.
The company would create events and would be added to the "Events" collection. So the events collection would have multiple companies events in it. I set the collection to use document permissions. and i can set the permissions only for that team to view. But i want the owners to be able to create and edit and the staff to be only to read.
Any suggestions on how to accomplish owners ful crud and staff only read?
Thanks!

Would this be correct? using a custom value team:655bcd94447a12a81b22/owner
Recommended threads
- Cannot add/update array field
How do I add or update the rows, How exactly to pass properties? (see provided image)
- TablesDB not available in FRA?
Hi, in the cloud version, v1.8.0 Frankfurt, is it possible to use TablesDB ? I don’t see that feature in the console.
- Query.equal error
Hi guys. I'm using Appwrite Cloud, and I'm using version 21 of node-appwrite to benefit from transactions. The problem is I seem to be getting an error when I u...
