When a user submits a response in Forms, I use Power Automate to post those responses to SharePoint. Part of the flow sets unique permissions on this new row, granting access only to the the submitter, their manager, and their manager's manager. The user's email and the manager's email are also recorded to columns in the row.
Recently, all these unique permissions were overwritten and I had to restore them manually, row by row. I'd love to create a flow to recreate them should it happen again. As the existing flow sets permissions as they come in (trigger is from Forms, "when a new response is submitted"), I'm uncertain how I'd tell my new Flow to do something like "for all existing rows in the SharePoint list, grant access to said row using the values in the user_email and manager_email columns".
Hi @bigfella ,
You can try to create a button flow to do this. When you click on the button , it will set the permission for all items in list.
Sample:
Can it help you?
Best Regards,
Wearsky