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.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: {Unused} Colibri Skin
    • Labels:
      None
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: