Skip to main content
Community site session details

Community site session details

Session Id : HtFEQTa9282wS/8guxVg7i
Power Apps - Building Power Apps
Unanswered

Secure items in 1 list based on the security of another

Like (0) ShareShare
ReportReport
Posted on 24 Mar 2022 19:11:19 by 260

Hello

 

I am developing a Site Diary system

 

Site Diary Entries are linked to a specific site my Site sharepoint list

 

Security is defined at the site level

 

When a user adds a site diary entry attached to the London site for example, how can I ensure that this entry is linked to London, i.e. its not visible to anyone who doesnt have access to the London site?

 

There is an implied link, but it is not secure enough because although I can restrict visibility of Site Diary Entries in the app to only those associated with sites the user has access to, it wont prevent a user from seeing diary entries they are not allowed to see, just by looking at the Site Diary Entries list directly in Sharepoint

 

Would this involve using Flow/Power Automate?

 

Paul

Categories:
  • SteveCochrane Profile Picture
    219 on 11 May 2023 at 07:58:35
    Re: Secure items in 1 list based on the security of another

    I had a similar use case, and yes - Power Automate can be used. Use the "PowerApps v2" trigger with some kind of service account/superuser. Once you finish the flow, click on the "Run only" section to ensure the connectors are used by the service account. This way, a regular user could trigger the flow in a button (or OnSuccess in PowerApps), and the flow can update the list item security, including looking into other lists that the user cannot access. This method allows "Guest" users to use flows, as well.

     

    HTH!

     

    Steve in Spain

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 our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete