Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

This is annoying. I've created a site, enabled the Publishing features, and added a couple people to the "Members" group that has Ready Only access.

When these users log in, they still see the "Site Actions" menu! When they click on the "Site Actions" menu, the only option given is "View Site Content"

alt text

We are trying to reduce as much "SharePoint Noise" as possible, so we would only like the "Site Actions" menu to show for Admins.

The only way I've been able to hide this is to make the SiteActions control security trimmed, like so:

<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ManageWeb">
    <SharePoint:SiteActions id="SiteActionsMenuMain" runat="server">

This seems a little dirty.

There has to be a better way to do this without having to edit the Master Page.

Any ideas?

share|improve this question
Is there a way I can still hide "View All Site Content" option under site action? –  user5385 Oct 25 '11 at 13:28

3 Answers 3

Not sure why you think your appoach is dirty. That's the right use of the SPSecurityTrimmedControl and you should not be afraid to use it that way!

In fact, MSDN suggest to use it for resolving issues like yours: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.spsecuritytrimmedcontrol.aspx

and even more interesting use of it here: http://blah.winsmarts.com/2008-5-Enhancing_the_SPSecurityTrimmedControl_-_Trimming_UI_on_any_critereon.aspx

share|improve this answer
Will this Not hide Site Actions to the owners of the site? –  Rick Aug 27 '12 at 18:57
Using this control you can set PermissionString such that person with full permission (such as owner) can access the content but not others. See sympmarc.com/2008/12/31/… –  Ashish Patel Aug 28 '12 at 2:09
Exactly what I wanted. Thanks! –  Rick Aug 28 '12 at 11:20

You could do this by editing the master page; find the SharePoint:SiteActions tag,, inside it you will find

<SharePoint:MenuItemTemplate runat="server" id="MenuItem_ViewAllSiteContents",,

change PermissionsString="" property to:

share|improve this answer

I have done this before using a CEWP and a quick script to control style. Now keep in mind this for WSS/MOSS 2007.

<style>.ms-quicklaunchheader {display:none;}</style>

Make sure you hide the CEWP in webpart properties.

share|improve this answer
Thanks for your reply. However, that code is to hide the "View All Site Content" link in the Quick Launch navigation. The link I'm talking about resides in the Site Actions menu. I'm going to upload a pic for clarity. –  Jeff Oct 14 '10 at 18:08

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.