Posted by Riaan
Its been a while since I let you know what I am busy with, lets just say it involves writing a generic KPI webpart for wss….Almost complete now, really interesting I must admit. Using content types etc, I will write a full article about that when the product is complete.
For now, in this current said product I am busy with, I also didn’t want to display the site actions menu in the wss site. Now there are a few ways of accomplishing this. Firstly one can modify the master.cs file or one can write a feature that you install. Both with its limitations. What worked for me best was to limit the display using Sharepoint User Groups and permissions.
Here is how you can accomplish hiding the Site Actions Menu for a Sharepoint User Group.
Site Actions -> Site Settings -> Users and Permissions -> Advanced Permissions -> Settings -> Permission Levels -> Contribute (your sharepoint group used to limit visibility on the menu) -> Site Permissions
Uncheck the following then submit:
1. Manage Web Site – Grants the ability to perform all administration tasks for the Web site as well as manage content.
2. Add and Customize Pages – Add, change, or delete HTML pages or Web Part Pages, and edit the Web site using a Windows SharePoint Services-compatible editor.
3. Browse Directories – Enumerate files and folders in a Web site using SharePoint Designer and Web DAV interfaces.
4. Enumerate Permissions – Enumerate permissions on the Web site, list, folder, document, or list item.