• <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)  編輯 收藏 引用
            无码国内精品久久综合88| 91久久精品无码一区二区毛片| 亚洲精品tv久久久久久久久久| 亚洲精品无码专区久久同性男| 久久精品无码一区二区WWW| www.久久热.com| 久久91精品国产91| 欧美亚洲另类久久综合| 狠狠色丁香久久婷婷综合蜜芽五月| 精品久久久噜噜噜久久久 | 国产精品久久一区二区三区 | 久久亚洲精品人成综合网| 久久精品一区二区国产| 欧美久久久久久| 久久久久久久综合日本| www久久久天天com| 亚洲午夜久久久久妓女影院 | 久久久久久久波多野结衣高潮 | 国产精品99久久精品| 亚洲v国产v天堂a无码久久| 中文字幕亚洲综合久久2| 国产精品美女久久久久| 久久99精品国产麻豆宅宅| 久久伊人五月天论坛| 夜夜亚洲天天久久| 99久久婷婷免费国产综合精品| 中文字幕久久久久人妻| 久久这里有精品| 亚洲精品乱码久久久久久蜜桃| 国产午夜电影久久| 国产精品久久久久久一区二区三区| 亚洲精品乱码久久久久66| 久久午夜无码鲁丝片秋霞| 亚洲精品国产第一综合99久久| 欧美亚洲日本久久精品| 亚洲精品国产自在久久| 欧美亚洲国产精品久久久久| 一本大道久久香蕉成人网| 国产精品久久新婚兰兰| 久久久久亚洲av成人网人人软件| 波多野结衣久久|