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 Automate / Best Practice for Appr...
Power Automate
Unanswered

Best Practice for Approvers Flow with Locking Permissions

(0) ShareShare
ReportReport
Posted on by 16

Looking for advice or best practice ideas for creating an approval flow that starts by granting access and ends by removing access to the group of selected approvers, and only for the file being approved.

 

Use case: A directory of controlled documents should never be edited by anyone outside the department that controls the documents.

 

However, different branches of the company should be able to approve new documents as needed.

 

People designated as approvers cannot be granted the approver permission level because this grants them edit rights to the entire document library.  Best case scenario, every time they open a file with autosave turned on its switched back to draft. Worse case, they actually edit it.

 

I believe that no one should have the approvers permission level. It defeats the whole concept of controlled documents.

 

My thought is that after the approval flow launches then the list of people in the flow designated as approvers would be given high enough permissions to be able to approve only that one document. The approval runs. Then those permissions for that one file should be revoked or removed.

 

How do you accomplish this? What features or aspects of MS Flow should I be searching for in search engines?

 

Thanks,

Categories:
I have the same question (0)
  • Darrell3831 Profile Picture
    16 on at

    If my approvers flow grants approvers permissions when it starts, to a list of people, how do I take that permission away after the flow finishes?

     

    Picture1.png

     

    Microsoft Learn Documentation seems to indicate that you can use the "Stop Sharing an item or a file", but that restricts everyone not just the list of people you were working with in the approval process.

     

    Darrell3831_0-1667313163828.png

    Manage list item and file permissions with Power Automate | Microsoft Learn

     

    How do I take away approver's permissions from the list of people that I gave it to back at the top of the workflow? Approvers can be one or more people.

     

    Thanks for any help you can offer.

  • Verified answer
    Darrell3831 Profile Picture
    16 on at

    For anyone else struggling with this, I found a solution that resets the inheritance back to where it was prior to granting approvers permissions.

     

    Picture2.png

    It's called ResetRoleInheritance().

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard