Forum Discussion
Kev2023
Apr 18, 2023Copper Contributor
Restrict Permissions in a List to row where email matches
Hi all
This is an step on from item level permissions I think.
I have a MS list that I want to share with multiple external users. They can view all rows but I only want them to edit the ones where the email field contains their email (there may be 1 or more emails in each row).
Any ideas on how to enable this, or if its even possible.
Thanks
Kev
Kev2023 You can achieve this using Power automate flow. Follow the steps:
- Create a Power automate flow which will run on item creation/update - use site owner/admin account for creating flow
- Break permissions inheritance on list item
- Grant site owners Full Control permissions if not granted already - it should be granted automatically if you break permission inheritance using HTTP action in flow
- Grant necessary access to users based on email addresses in person or group column - you can use apply to each for multiple selection person column and inside it grant them acces
Follow below links for breaking permissions:
- Power Automate - Break Inheritance And Set List Item-Level Permissions In SharePoint Online
- Stop sharing an item or a file
Follow below links for granting permissions:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
2 Replies
Sort By
Kev2023 You can achieve this using Power automate flow. Follow the steps:
- Create a Power automate flow which will run on item creation/update - use site owner/admin account for creating flow
- Break permissions inheritance on list item
- Grant site owners Full Control permissions if not granted already - it should be granted automatically if you break permission inheritance using HTTP action in flow
- Grant necessary access to users based on email addresses in person or group column - you can use apply to each for multiple selection person column and inside it grant them acces
Follow below links for breaking permissions:
- Power Automate - Break Inheritance And Set List Item-Level Permissions In SharePoint Online
- Stop sharing an item or a file
Follow below links for granting permissions:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
- Kev2023Copper ContributorThat is great, thanks Ganesh