My customer had a annoying problem with user rights after a new install the problem still existed
We could not find the problem. We gave the read user folder browsing rights and the problem was solved.
But this brought another thing. The user got a site actions menu and could navigate through the site using that menu and would get access denied on most
Pages with the default SharePoint message which the customer was not amused with.
After some thinking we decided to hide the menu for all users accept admin users.
Hiding is no problem if you go to SharePoint Designer and open the master page go to the site actions menu and make visible false.
Well this is not what we want because the administrator did not see the menu.
After some digging we found out that if you use the SPSecurityTrimmedControl we could give specific rights to the control.
The end result of the code looked like this.
...
On the web it looks like this for the reader:
On the administrator it looks normal like this.
Reference : www.KbWorks.nl
No comments:
Post a Comment