Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Governance and Administ...
Unanswered

Role based access in Model driven apps.

(0) ShareShare
ReportReport
Posted on by 2

Hi, I have been trying to implement role based access in model driven apps. I have tried it with security roles but the problem is that all the data is imported into the app by a single user and the owner field is occupied by a that users value. Is there any other way to implement it. For eg. by extracting current users email ID and matching it with the email field in the table. if it is possible please do tell how its achievable.

 

Thank you.

 

  • Sarvesh_A Profile Picture
    2 on at
    Re: Role based access in Model driven apps.

    Thankyou for the response @joe_hannes_col .

     

    I'll try it out.

  • joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at
    Re: Role based access in Model driven apps.

    Hello @Sarvesh_A,

     

    You have two options to do this:

    • Use custom code to define how a form is displayed based on information in the entity, e.g. read-only if the email address in one field does not match the email address of the current user.
    • Change the owner of the rows inside the table programmatically: You could build a flow, for example, that looks up the user account in the "User" table based on the email address, and then assigns the row by changing the "Owner" field to this user. I would suggest using this approach, because once you have set the owner correctly, the standard role based access model can be used.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Governance and Administering

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 11 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 9

#3
bscarlavai33 Profile Picture

bscarlavai33 5 Super User 2025 Season 1

Overall leaderboard

Featured topics