• <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   管理


            天天爽天天狠久久久综合麻豆| 久久久久久av无码免费看大片| 亚洲国产精品久久电影欧美| 久久大香香蕉国产| 国产99久久久国产精免费| 久久综合亚洲色HEZYO社区| 人妻无码久久一区二区三区免费| 狠狠干狠狠久久| 人妻无码αv中文字幕久久琪琪布 人妻无码精品久久亚瑟影视 | 日韩亚洲国产综合久久久| 久久中文骚妇内射| 久久伊人色| 91久久九九无码成人网站| 久久丫精品国产亚洲av不卡 | 久久综合九色综合网站| 久久青青草原综合伊人| 亚洲AV日韩精品久久久久久久| 久久有码中文字幕| 国产L精品国产亚洲区久久| www性久久久com| 欧美一区二区三区久久综合| 一级女性全黄久久生活片免费 | 久久91精品综合国产首页| 久久国产亚洲精品无码| 久久午夜无码鲁丝片秋霞| 中文字幕久久精品| 久久午夜福利电影| 久久综合一区二区无码| 国产综合成人久久大片91| 久久99精品综合国产首页| 精品一区二区久久| 97久久香蕉国产线看观看| 久久精品国产亚洲av高清漫画 | 久久99热这里只频精品6| 久久亚洲天堂| 久久国产欧美日韩精品免费| 亚洲精品无码久久不卡| 99蜜桃臀久久久欧美精品网站| 日本WV一本一道久久香蕉| 国产精品99久久久精品无码| 性做久久久久久久|