Details
-
Bug
-
Resolution: Fixed
-
Minor
-
2.6 RC1
-
None
-
Unknown
-
Description
Since XWIKI-3398 , Rename checks for delete rights.
For document creators
$xwiki.hasAccessLevel('delete') returns 'false' (used by rename.vm)
and
$xwiki.checkAccess($doc.fullName, 'delete') returns 'true' (used by menuview.vm).
Normally document creators have 'delete' right and should be able to rename the page, especially since they can delete it.
Selecting 'rename' retuns 'You are not allowed to view this document or perform this action.'
Attachments
Issue Links
- is duplicated by
-
XE-886 Users can delete page, but not rename it
- Closed
- is related to
-
XWIKI-4106 Different results for $xwiki.checkAccess and $xwiki.hasAccessLevel
- Closed