Forum Discussion
Restrict users from Deletion
- Jan 18, 2021
There is no SharePoint default permission level which allows add/edit but not delete existing files.
Workaround:
You need to create a custom Permission level in SharePoint. This will be a copy of your existing permission level minus Delete Items permission. Follow below steps to achieve this:
- Click Site settings > (Go to top level site settings) > Users and Permissions > Site permissions.
- Click Permission Level, and we can customize a new permission level based on the existing ones.
- Open the Edit permission level, and click Copy Permission Level on the bottom.
- Give the name for the new permission level, and uncheck the Delete Items options. You can also remove other permissions that are unnecessary, such as Delete Versions.
- Click Create to create the permission level.
- Use this permission level to assign the permissions to users
Reference: SharePoint online site permissions add but not delete
Please click Mark as Best Response 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.
There is no SharePoint default permission level which allows add/edit but not delete existing files.
Workaround:
You need to create a custom Permission level in SharePoint. This will be a copy of your existing permission level minus Delete Items permission. Follow below steps to achieve this:
- Click Site settings > (Go to top level site settings) > Users and Permissions > Site permissions.
- Click Permission Level, and we can customize a new permission level based on the existing ones.
- Open the Edit permission level, and click Copy Permission Level on the bottom.
- Give the name for the new permission level, and uncheck the Delete Items options. You can also remove other permissions that are unnecessary, such as Delete Versions.
- Click Create to create the permission level.
- Use this permission level to assign the permissions to users
Reference: SharePoint online site permissions add but not delete
Please click Mark as Best Response 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.
ganeshsanap I set up a custom permissions site and only check marked the: Edit Items - Edit items in lists, edit documents in document libraries, and customize Web Part Pages in document libraries. The delete options are not check marked. This still gives users the option to delete webparts, unfortunately. Is there anything I'm doing wrong or is this just a Microsoft bug?
- ganeshsanapNov 15, 2021MVP
JennaB460 This is expected behavior as you are having permissions to edit the pages (items/documents).
Adding/removing web parts on a site page is part of editing pages.
Please consider giving a Like if my post helped you in any way.
- jcjcwolfSep 02, 2022Copper Contributor
Thanks for the workaround. But if eventually, the users are still able to delete a record. It is not a workaround solution for restrict users from deletion then?
- ganeshsanapSep 05, 2022MVP
jcjcwolf When you are using above workaround, users are still able to delete the items?
Please consider giving a Like if my post helped you in any way.