Picking through the master page, I discovered that we can add fine grained permissions to the Site Actions menu.
For instance, they happened to stick the capability to "Edit in SharePoint Designer" into the Site Actions menu. That may be a big no no for us.
However, the PermissionsString and PermissionMode properties are here to save the day.
We can specify which group actually is able to see the control based on the PeremissionsString property.
The property allows for a comma separated list of permissions specified in SharePoint. Only the users with those permission sets are going to see the button in the site actions menu. I modified the permission string to only show the item for users who have "ManageWeb" permissions.
The beauty of the MenuItemTemplate, is that we can remove the button all together.
Thursday, March 11, 2010
Subscribe to:
Posts (Atom)