• <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
            <2008年10月>
            2829301234
            567891011
            12131415161718
            19202122232425
            2627282930311
            2345678

            常用鏈接

            留言簿(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 閱讀(228) 評論(0)  編輯 收藏 引用
            久久男人AV资源网站| 国产欧美久久久精品影院| 69SEX久久精品国产麻豆| 久久66热人妻偷产精品9| 2021国产成人精品久久| 免费精品久久久久久中文字幕| 色天使久久综合网天天| 亚洲综合精品香蕉久久网| 久久99精品国产一区二区三区 | 热久久最新网站获取| 亚洲精品无码久久久久去q | 国产精品99久久久精品无码 | 国产成人精品久久亚洲高清不卡| 蜜臀久久99精品久久久久久| 亚洲精品乱码久久久久久蜜桃不卡 | 久久精品国产免费一区| 亚洲国产成人久久综合野外| 97久久久久人妻精品专区| 伊人久久大香线蕉综合网站| 久久精品免费观看| 亚洲精品无码久久久影院相关影片| 久久青草国产精品一区| 久久久久亚洲AV无码永不| 亚洲国产高清精品线久久| 国产精品va久久久久久久| 国产精品久久成人影院| 伊人久久大香线蕉av不卡| 热久久国产欧美一区二区精品 | MM131亚洲国产美女久久| 久久综合亚洲色一区二区三区| 久久97久久97精品免视看| 久久精品国产99国产精品澳门| WWW婷婷AV久久久影片| 亚洲欧洲日产国码无码久久99| 国产精品久久久久a影院| 久久精品这里只有精99品| 国产成人无码精品久久久免费 | 88久久精品无码一区二区毛片 | 久久久久人妻一区精品性色av| 亚洲伊人久久大香线蕉综合图片| 久久精品国产99国产精品导航|