Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-6393

"Copy" does not appear in the "More actions" menu unless the user have programming rights.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • {Unused} Colibri Skin
    • None

    Description

      Since it is possible to copy pages if you have edit rights, I think that it is strange that the entry does not appear in the menu unless you have programming rights.

      I would like to change this (in contentmenu.vm):

        #if($canDelete || $xwiki.hasProgrammingRights())
          #submenuseparator()
        #end
        #if($xwiki.hasProgrammingRights())
          #submenuitem($doc.getURL('view', 'xpage=copy') $msg.get('core.menu.copy') 'tmActionCopy', '')
        #end
      

      into:

        #if($canDelete || $xwiki.hasAccessLevel('edit'))
          #submenuseparator()
        #end
        #if($xwiki.hasAccessLevel('edit'))
          #submenuitem($doc.getURL('view', 'xpage=copy') $msg.get('core.menu.copy') 'tmActionCopy', '')
        #end
      

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              aj Andreas Jonsson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: