How to restrict all users to delete Image from Picture Library when it is referring in site

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/197774

  •  10-12-2020
  •  | 
  •  

Question

We are referring Images from an Image Library and showing them in web parts. In case, if a user deletes any Image from back end, our web part will show empty. Of course we can show an alternate image, but I want to restrict all the users to delete images from library while they are being referred.

Kindly help me on how to do this.

Was it helpful?

Solution

Navigate to the Picture Library in question, and select the Shared With Button

enter image description here

On the modal dialogue, follow the advanced link

enter image description here

Click the button Stop Inherit Permissions

enter image description here

When you hav broken permission, you kan have the exact permission you want to have for this picture library. Select the group that you want to remove permission for (and make sure they already have read permissions from the Visitor group). Click Remove User Permission.

enter image description here

When you have removed all groups that have permission to delete images, you can safely add images here which you use in your webpart, without ever losing them again.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top