web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How Can I Implement a ...
Power Apps
Unanswered

How Can I Implement a Hierarchical Row-Level Security Model in Dataverse Based on Management Structure?

(0) ShareShare
ReportReport
Posted on by 932 Super User 2024 Season 1

Hi All, 

 

I am in the process of implementing a row-level security model within Dataverse to mirror our company's management hierarchy.

HamidBee_2-1707338364271.png

 

I need some guidance on setting this up correctly. Below are my requirements with examples for each:

 

  1. Direct Reports Editing Access: Managers should have the ability to read and edit rows related to their direct reports. For example, if Kate is a manager, she should be able to edit and view rows belonging to her direct reports, Ahmed and Samantha.

  2. Visibility Up the Hierarchy: Upper management should be able to view and edit all data entries pertaining to those under their purview. For instance, Brian, who is at the top of the hierarchy, should have edit and view access to all rows of David, Wendy, and all individuals reporting to them.

  3. Peer Access Restriction: Individuals on the same management level should not have access to each other's records. For example, while both Kate and Gonzales report to David, they should not be able to view or edit each other's rows.

  4. No Upward Visibility: Lower-level managers or staff should not have access to their superiors’ records. For example, Gonzales should not have the ability to view or edit the rows that pertain to David or Brian.

  5. Executive Exclusion: Certain high-level individuals, specifically Ian and Debra, should have no visibility or editing capabilities on this table, nor should their subordinates. They are part of the organizational structure but are not involved with this particular dataset.

At the moment I created 3 security roles:

 

Security role 1: For Brian

Security role 2: For Wendy and David

Security role 3: For Kate, Gonzales, Tom and John

Security 4: For all those under Kate, Gonzales, Tom and John

 

Would this be correct?.

 

Thanks in advance.

 

@dpoggemann , @EricRegnier  @ChrisPiasecki @parvezghumra 

I have the same question (0)
  • Jonathan Manrique Profile Picture
    2,687 on at

    Hi @HamidBee 

     

    What you are asking for can be implemented by setting up a security model based on business units and teams. This will allow everyone to see what is owned by them, but the user managers or managers can see what belongs to their subordinates. In this case you would have to set up different types of security roles based on the type of access the person needs.

    Please read the documentation for a better understanding.

    https://learn.microsoft.com/en-us/power-platform/admin/wp-security-cds

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution
    Follow me on Linkedin, I talk about Power Platform
    www.linkedin.com/in/jonathan-manrique-rios

     

     

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @HamidBee,

    To supplement on @Jmanriquerios, yes it's possible with out of the box security model, see his link for the general info. For specifically on your hierarchy type of security, see the Hierarchy feature, it might simplify your role and BU structure:  https://learn.microsoft.com/power-platform/admin/hierarchy-security 

    Hope this helps!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard