Forum Discussion
Prevent deletion of SharePoint files
- Jul 05, 2019You need to create a new permission role and assign that to users. Go to the SharePoint site permissions, it's under advanced on the home page. Add a role and select just the permissions the user needs and not delete. Now go to library and change the user group permissions to that new role.
collabrius That sounds very helpful for my situation, provided its works online.
Would it be possible to use the same/similar method for moving a file when delete permission is off.
That's a very good question. Moving files is on my radar as a function I need to test for two reasons:
- I like maintaining a single version of the truth, and
- in some environments people keep everything regardless of being deleted, which adds to total capacity
Will let you know how I get on. Once working I will test it with the custom permission level.
Cheers collabrius
- MEMoserNov 10, 2021Copper Contributor
collabriushave you had any success? Our situation is similar but part of our process is to tag metadata on the status of the file (draft, final, archive, etc.) so I'm wondering if is possible to allow deletion based on status - drafts can be deleted, others may not.
We are going to work on several options and my add our findings to this thread.
Best of luck.