You guys ever get those crazy requests too from your boss? Things that really don’t matter at all and they only want to do it, because they thought of the idea. Well I get those all the time. This time it was to hide the Site Actions for our new SharePoint 2007 setup. I mean really, who cares if users can see the link/button, they can’t do anything and they’re used to seeing it from SP 2003 so it’s not like they’ll get confused about it. But anyway, the good team player I am I went in and figured out how to do it for us.
I’m not sure if this will work for everyone. I also did this like 6 months ago after searching for a few hours and not really finding anything. Probably because no one else care. But anyway, You should just have to wrap/replace your Site Actions code in your Template and it should hide the button from those who don’t have access to use it. I hope this helps out some of you out there that have the same request.