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


            国产高清美女一级a毛片久久w | 久久无码人妻一区二区三区午夜 | 怡红院日本一道日本久久| 草草久久久无码国产专区| 亚洲欧洲精品成人久久奇米网| 亚洲午夜久久久影院| 久久久噜噜噜久久中文字幕色伊伊| 久久人人爽人人人人爽AV| 伊人久久免费视频| 国产亚洲精久久久久久无码77777| 久久亚洲欧美日本精品| 久久精品国产亚洲av麻豆蜜芽| 精品久久一区二区三区| 久久久无码精品亚洲日韩京东传媒 | 亚洲?V乱码久久精品蜜桃| 丁香狠狠色婷婷久久综合| 一本久久综合亚洲鲁鲁五月天| 亚洲国产精品久久久久网站| 精品熟女少妇AV免费久久| 久久久精品人妻无码专区不卡| 久久99精品久久久久久动态图| 2020久久精品亚洲热综合一本| 91精品国产91久久| 精品久久久噜噜噜久久久| 伊人久久大香线焦AV综合影院 | 精品伊人久久久| 久久人人爽人人精品视频| 久久青草国产精品一区| 国内精品伊人久久久久av一坑 | 久久久午夜精品福利内容| 久久国产一片免费观看| 久久久亚洲精品蜜桃臀| 久久一区二区三区免费| 欧洲性大片xxxxx久久久| 2020最新久久久视精品爱| 国产精品午夜久久| 亚洲精品成人网久久久久久| 久久久久波多野结衣高潮| 国内精品久久久久影院老司 | 国产美女久久久| 国产免费久久精品丫丫|