I have a few datastructures:
Users
Properties
Teams
Teammates
Users create properties and teams
Within teams, they can connect with teammates and share properties at specific levels
The connections between the data follow:
Users have Properties (all the properties they create)
Users have Teams (all the teams they create and teams they join)
Teams have Teammates (all the teammates in that team)
Properties have Teammates (all of the users who have been tasked to work the property)
The permission levels for teammates are “team lead”, “manager” and “viewer”.
I want to setup privacy rules saying “this property’s teammate’s role is ‘teamlead’”
but in the privacy rule i can only do “this property’s teammate [“contains”, “doesnt contain”]”.
Does anyone know if a way to get granular permissions for this? I would hate to have to add conditional logic to every single aspect of my app to allow for granular permissions