Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
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
- duplicates
-
XSCOLIBRI-275 Copy feature does not require the proper rights
- Closed
- relates to
-
XE-374 Actions->Copy of document doesn't work, but claims success
- Closed