I don’t have any good solution to this. There are very few operators available for testing values in Privacy Rules (contains, is empty … basically) so any hack you dream up like regex matching a string is not going to work.

When faced with this, I’ve changed the App design to have a concept of “active team” - so when a User wants to see a Teams data - they have to have changed their “active team” to be the team they want to view the data of. (eg like an explicit choice on login) then Privacy Rules can work in the usual fashion.

Maybe some bright spark will have a better suggestion :slight_smile:

2 Likes