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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / About security role
Power Apps
Suggested Answer

About security role

(1) ShareShare
ReportReport
Posted on by 26
Hi,

The client has requested a new Content Owner role.

According to the requirement:

  • Measure Owner is accountable for the KPI(s), but is not always the person who enters the KPI values in the tool.
  • Content Owner is responsible for entering the KPI results in the tool and has the required information about the KPI.

I have created the Content Owner security role by copying the Measure Owner role. However, I'm not sure which table permissions should be restricted or modified for this role.

The existing Measure Owner role has access to the following tables:

  • Objective
  • Global Measure
  • Key Priorities
  • Yearly Objective

I also noticed that Measure Owners are added through the Dataverse subgrid, which uses the Users table.

Additionally, I have:

  • Created the Azure AD group for Content Owner.
  • Created the Power Automate flow so that when users are added to the Azure AD group, the Content Owner security role is assigned automatically.

My question is: Which table permissions should be changed or restricted for the Content Owner role compared to the Measure Owner role?

 

 

 

For the Measure Owner role, when we add a user to the Azure AD group, the security role is assigned automatically. We can then select that user from the Add User button in the Measure Owner subgrid in the model-driven app, and they can access their assigned measures.

For the Content Owner role, I'm not sure how this should work. If I add a user to the Content Owner Azure AD group, where can I associate that user with a measure? How will I retrieve or select the Content Owner, similar to how we add a Measure Owner through the Measure Owner subgrid?

I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    3,563 on at
    Based on the information provided, creating the Content Owner security role alone is not sufficient. You also need a way to associate Content Owners with individual Measures. The recommended approach is to introduce a Content Owner lookup or subgrid on the Measure record and use it to assign users, just as the Measure Owner relationship works today. Once that relationship is in place, adjust the Content Owner security role to grant only the minimum permissions required to enter KPI results, while keeping broader management and accountability with the Measure Owner.
  • RV-13100656-0 Profile Picture
    26 on at
    the measure owner column in not exist in Global measure. we have to take from users table. In user table also the column is hidden. 
  • Suggested answer
    Haque Profile Picture
    3,797 on at
    Hi @RV-13100656-0,
     
    I view this access stuff from two roles persepctive, let's justify the permissions first. I am going to narrow down a bit deeper for my understanding aligning with yours, so please bear with me.
     
    Measuer Owner: Will have read, write and possibly delete permissions on Objective, Global Measure, Key Priorities and Yearly Objectives.
    For Measure Owner it seems like s/he has bit broader access to view and manage KPI def. and related meta. I am assuming s/he may have permissions to assign or share records (might be not).
     
    Conten Owner: Sufficient if create and write permissions are there where KPI's are stored, namely Global Measure table or some related/metadata(probably Objective, Key Priorities) tables. Logically you want to restrict (no write/delete permissions) for Content Owner from other table's access (Objective, Key Priorities and Yearly Objectives). What I am seeing is a clear separation of accountability for both of them. More specifically, we are going to restrict Content Owner permissions on tables that control KPI or ownership - to prevent unwanted changes. S/He is just a maker. 
     
    This is my understanding from what you described and I want to see this a table view like below for two role's permissions.
    Please correct me if I am wrong.
     
    Now comes users and ownership. As you have added Measure Owners via the user table subgrid I am not sure Content Owners have read access to user table to see relevent users (not for write/assign prevelages) at least at this point. If not please make sure Content Ownsers have read access.
     
    As a content maker, we should reduce or remove Delete/Assign privileges on metadata table compared to Meauser Owner. Definitely, we should limit CRUD permissions on metatdata table hence it is good if we can maintain only read permissions all relevant tables (just for view purpose - if needed)
     
    I don't have any comments on flow assigning content woner role vai AD groop - perhaps its a good and practical approach. 
     
    Now I am close to your quesiton:
    Which table permissions should be changed or restricted for the Content Owner role compared to the Measure Owner
    I am referring my table above - first set the permssion as needed, lowering content owner permission and highering Measure owner.
     
     
    What you did for Measure Owner, you have linked measures making a many-to-many or lookup relationship via subgrid on the measure records. Essentially, this subgrid will show users from the Users table assigned as Measures Owners.
     
    What you should do for Content Owners: You created a Content Owner security role (by copying Measure Owner) - a similar fashion (like measuer owner) need to be followed to link Content Owners with measuers (Global Measures). So this will need a custom relationship or subgrid on measure entity to link Conntent Owners(users) explicitly. So, let's create a many-to-many [2] or one-to-many relationship between entity and the Users table for Content Owners. So to associate a Content Owners with measuers (like Measuer Owners), a custom relationship between measures and users need to be created. To manage this link/assoication a Content Owner subgrid need to be added on the measure form - from here (subgrid) you will be able to use select Content Owners. 
     
    Please let me know if this helps.
     
     
    ​​​​

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard