SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a few custom web parts on my home page. When I add users to the members group (contribute permissions) they seem to be able to delete them as well. I want them to be able to interact with them but not be able to delete them.

I also tried modifying the permission slevels for contribute access but as soon as I check the "edit" option the users are able to delete the web parts again.

enter image description here

I looked around the net for suggestion and I found one that suggested I uncheck the "Allow Close" option by editing the web part, but it is grayed out.

Is there a way I can edit the web part code in sharepoint designer to set false?

enter image description here

share|improve this question
up vote 2 down vote accepted

These are the exact sets you need to follow :-

Site Level Permissions > Unless absolutely necessary you should not give the illusive "Contribute" rights to any group of users across the entire site. The reason behind this is contribute permission level in SharePoint generally comes a very high privileges which includes deletion and modification of content across site wise. Just give users "Read" access across the entire site.

Document Library > In the document library where your page resides give them "read level rights" and if needed give contribute rights to the moderator of the document library who might manage and update the webparts in the pages.

Page > In the page where your webpart resides , just give read access to all users. This should be only modifiable by the document library moderator or the site collection administrators.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.