• <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年11月>
            2627282930311
            2345678
            9101112131415
            16171819202122
            23242526272829
            30123456

            常用鏈接

            留言簿(1)

            隨筆分類

            隨筆檔案

            My Tech blog

            搜索

            •  

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

            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) 評(píng)論(0)  編輯 收藏 引用

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


            亚洲午夜久久久| 性做久久久久久久| 99久久夜色精品国产网站| 亚洲乱亚洲乱淫久久| 2021国内久久精品| 国产女人aaa级久久久级| 色诱久久av| 青青久久精品国产免费看| 伊色综合久久之综合久久| 久久中文娱乐网| 久久精品中文騷妇女内射| 国内精品伊人久久久影院| 精品久久久久久久久午夜福利| 欧美一区二区久久精品| 久久久精品人妻一区二区三区蜜桃| 性做久久久久久久久久久| 久久精品成人免费网站| 久久精品国产亚洲AV香蕉| 久久国产成人午夜AV影院| 久久精品国产一区二区三区| 精品欧美一区二区三区久久久 | 97视频久久久| 亚洲欧美日韩精品久久| 久久久噜噜噜久久熟女AA片 | 日韩欧美亚洲国产精品字幕久久久| 久久天堂AV综合合色蜜桃网| 亚洲AV无码久久| 久久人做人爽一区二区三区| 欧美丰满熟妇BBB久久久| 久久噜噜久久久精品66| 无码任你躁久久久久久老妇App| 精品无码久久久久久久久久| 97久久精品人人澡人人爽| 国产真实乱对白精彩久久| 97久久精品人人澡人人爽| 四虎国产精品免费久久久| 91精品国产91久久综合| 久久99精品久久久久久水蜜桃| 99久久精品免费国产大片| 国内精品久久久久久久亚洲| 66精品综合久久久久久久|