Forum Discussion

anmol2332's avatar
anmol2332
Copper Contributor
Apr 21, 2023

How to remove Delete permission from some users without impacting Rename of file on SharePoint?

Hi,

 

One of our client's needs to remove delete file/folder permission from some users on SharePoint, so they created new permission without delete permission. But because of this they are not able rename files also.

 

So how can we restrict users from Delete but without impacting Rename permissions on SharePoint.

  • NikolinoDE's avatar
    NikolinoDE
    Gold Contributor

    anmol2332 

    To remove the delete file/folder permission from some users in SharePoint, you can create a custom permission level that does not include the `Delete Items` permission and assign it to those users.

    Here's how you can do this:

    1. Click on `Site settings` and then go to `Users and Permissions` > `Site permissions`.
    2. Click on `Permission Levels`, and then click on `Add a Permission Level`.
    3. Give a name for the new permission level and check the boxes for the permissions you want to include. Make sure to uncheck the `Delete Items` option.
    4. Click on `Create` to create the new permission level.

    Once you have created the custom permission level, you can assign it to specific users or groups to restrict them from deleting files or folders.

    • Tara1234's avatar
      Tara1234
      Copper Contributor

      NikolinoDE Hi there
      i also would like to have so staff can edit but not remove items however on my share point it doesnt have add a permission level any ideas?

    • anmol2332's avatar
      anmol2332
      Copper Contributor

      NikolinoDE 

       

      I tried this, however when i do this it removes the Rename permission too.

       

      So basically, my requirement is to remove Delete permission without impacting Rename permissions.

       

       

      • NikolinoDE's avatar
        NikolinoDE
        Gold Contributor
        Unfortunately, if you remove the `Delete Items` permission from a custom permission level, it will also remove the ability to rename files. This is by design in SharePoint.
        One workaround could be to enable retention policies via the Security and Compliance Center.
        This way, all deleted documents will be moved to the Preservation Hold library for a specified duration of time.

Resources