Hi,
In a Model-Driven application I currently have a table called 'Contacts'. This table can be viewed my the application users who are currently divided in the following Teams:
- Admins
- Corporate
- Directors
- Management
- Users
Based on the team you belong to, you will see either all fields on a contact form or a limited set of fields. There is also a hierarchy existing, admins should see all contacts of the teams below them and so on... The hierarchy look like this:
So in this setup management users cannot see contacts which belong to the director level etc...
Now I have three questions:
- Is this setup a good practice or there other ways to achieve the same behavior?
- All contacts in the 'Contacts' table created should be by default available to all levels, so from users to admins. How can I achieve this, if an admin creates a contact it will only be available to them I think?
- A requirement is to be able to work with 'tagging'. For example if a contact receives the tag 'C-Level', automatically the security is set to the levels Directors and up.
I hope I made the case clear, if not feel free to ask me more details.
Thanks!
********Update*******
I want to clarify that I am using business units and security roles in the above setup. The teams are used in relation to these business units because they are linked to an Entra ID security group.