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 / Model Driven App Secur...
Power Apps
Answered

Model Driven App Security with CDS Entity

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am new to Model Driven App, and I have created model driven app with following approach:

 

  1. Created Entities : Products Entity with Many to many relationship with Reviews Entity
  2. Created an App : Added Products and Reviews Entities in the App, where Product shows related reviews.

 

Question:

  1. How can I display products created by me ( Current logged in user) in App?
  2. How can I restrict editing product item in app which are not created by current user?

Thanks and Regards,

 

Categories:
  • Dave Wi Profile Picture
    on at

    I could figure out by specifying following filter in CDS View:

     

    "Created By Me" equals current user.

     

    However, is there any way that allows restricting "Editing" entity which is not created by current user?

     

    Thanks,

     

  • Verified answer
    Rohit Sharma354 Profile Picture
    Microsoft Employee on at

    Hello,

     

    The ability to edit / create / delete depends on the permission depth granted to the specific entity.

    In order to restrict users from modifying the record created by others, you can set the edit permission depth at the user level, as shown below:

     

    Screen1.png

     

    Please refer to more information below:

    https://docs.microsoft.com/en-us/power-platform/admin/security-roles-privileges

    https://docs.microsoft.com/en-us/power-platform/admin/database-security

     

    I 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard