Missing Site Actions Menu in SharePoint

I had a bit of a mysterious problem whilst setting up a new publishing site. Well, mysterious if you don't know what you're doing! The Site Actions menu wasn't appearing for authors with contribute or approve permissions. The only time that it would pop up is if the 'Add and Customize Pages' option was chosen in the fine grained permissions.

It transpires that the master page can control the visibility of the site actions menu above and beyond the permissions granted. The site action menu is wrapped in a security trimmed control that controls its visibility (doh!).

The previous setting of:

PermissionsString="AddAndCustomizePages"

would only have shown the control to people with the Add and Customize Pages permission and that means granting too many rights.

I changed the control to:

<SharePoint:SPSecurityTrimmedControl PermissionsString="EditListItems" runat="server">
<PublishingSiteAction:SiteActionMenu runat="server"/>
</SharePoint:SPSecurityTrimmedControl>


to make the control visible to these other permission groups.

Annoyingly simple to resolve once you know how!

Comments