• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 181  文章 - 15  trackbacks - 0
            <2009年4月>
            2930311234
            567891011
            12131415161718
            19202122232425
            262728293012
            3456789

            常用鏈接

            留言簿(1)

            隨筆分類

            隨筆檔案

            My Tech blog

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            Hide Edit Page in Site Actions Menu

            I had a request from a client to hide the Edit Page option under the Site Actions menu for all users without Full Control permissions.  I performed the following steps to remove the edit page option for user's without the managesubwebs right.

            1. Open the master page for the site.
            2. Find the following lines of code:

                     <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage"
                      Text="<%$Resources:wss,siteactions_editpage%>"
                      Description="<%$Resources:wss,siteactions_editpagedescription%>"
                      ImageUrl="/_layouts/images/ActionsEditPage.gif"
                      MenuGroupId="100"
                      Sequence="200"
                      ClientOnClickNavigateUrl="BLOCKED SCRIPTMSOLayout_ChangeLayoutMode(false);"
                      />

            3. Add to the following lines to the code:
                      PermissionsString="ManageSubwebs"
                      PermissionMode="Any"

            4. The code should now look like:
                     <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage"
                      Text="<%$Resources:wss,siteactions_editpage%>"
                      Description="<%$Resources:wss,siteactions_editpagedescription%>"
                      ImageUrl="/_layouts/images/ActionsEditPage.gif"
                      MenuGroupId="100"
                      Sequence="200"
                      ClientOnClickNavigateUrl="BLOCKED SCRIPTMSOLayout_ChangeLayoutMode(false);"
                      PermissionsString="ManageSubwebs"
                      PermissionMode="Any"
                      />
            5. Save the master page and login with an account that does not have Full Control, but is not read only either...  The Site Actions drop down should now resemble:
            posted on 2008-10-24 14:45 littlegai 閱讀(233) 評論(0)  編輯 收藏 引用

            只有注冊用戶登錄后才能發(fā)表評論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


            久久综合五月丁香久久激情| 国产精品久久久久乳精品爆 | 2022年国产精品久久久久| 精品久久久噜噜噜久久久| 国产精品久久久久影院色| 综合久久久久久中文字幕亚洲国产国产综合一区首 | 久久精品国产99久久久香蕉| 久久国产亚洲精品| 久久影院久久香蕉国产线看观看| 四虎久久影院| 国内精品伊人久久久久妇| 久久97久久97精品免视看| 国产精品99久久久久久人| 四虎久久影院| 久久久久久久久波多野高潮| 色综合合久久天天给综看| 狠狠人妻久久久久久综合| 99久久精品九九亚洲精品| 精品久久人人爽天天玩人人妻| 亚洲精品乱码久久久久久蜜桃| 色综合久久综合网观看| 国产成人无码精品久久久免费| 伊人色综合久久天天| 久久久久久久国产免费看| 久久久久女教师免费一区| 中文成人无码精品久久久不卡| 国内精品伊人久久久影院| 久久国产乱子伦精品免费强| 99久久精品国产综合一区| 亚洲人成网亚洲欧洲无码久久| 日本人妻丰满熟妇久久久久久| 99久久精品免费看国产免费| 久久久国产99久久国产一| 久久久久99精品成人片欧美| 青青青国产成人久久111网站| 婷婷久久综合九色综合绿巨人| 久久久久久久97| 久久久无码精品亚洲日韩京东传媒| 久久se精品一区精品二区| 久久人妻少妇嫩草AV无码专区| 亚洲另类欧美综合久久图片区|