I have the following data types ( simplified )
I am trying to set up the privacy rules so that the team’s manager can see the subset fields of the user.
Requirements
the manager can see the team member’s details when their role is set to manager.
In all other instances (when their role is an ordinary user) they can only see their own user details.
Privacy Rules
-
if you add event teams to the user, you cannot say
this users event team manager because
event team is a list and
managers is a list on the event team -
You could add a list of maangers to the user and add the event team manager to the list but that would mean the manager would always see the users details.
I would have to add a role restriction as well. -
What would be nice would be able to say on the event team member data type is
this event team manager contains current user
and giving access to the member (user) but this is not possible unless the privacy on the user is satisfied.
Since a player will play in many teams, at many events, tournaments, and courses their list of events and managers will grow quickly and go beyond the recommended 100 list maximum for best performance.
Maybe I need to look at this a different way to find a solution.
I would appreciate any guidance or suggestions