对非管理员隐藏Site Actions的菜单

If your site collection was created using the Publishing template, then you can use this fix to hide the New Page option from the Site Actions menu:

  1. Go to Site Settings - Master Pages and Page Layouts
  2. Open the Editing Menu folder
  3. Edit CustomSiteAction.xml
  4. Paste the following XML into the CustomSiteAction.xml file
<?xml version="1.0" encoding="utf-8" ?>
<Console>
  <references>
    <reference TagPrefix="cms"
    assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" namespace="Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions" />
  </references>
  <structure >
    <ConsoleNode ConfigMenu="Delete" ChangedNodeID="wsaCreatePage" />
  </structure>
</Console>


http://www.cnblogs.com/windy2008/archive/2012/08/24/2654012.html
posted @ 2012-08-29 13:34  小师傅  阅读(182)  评论(0编辑  收藏  举报