Details
-
Bug
-
Resolution: Fixed
-
Minor
-
1.1 M3
-
None
Description
For example,
$xwiki.checkAccess($context.user, "delete")
returns false if the current user doesn't have admin rights, even if the document can indeed be deleted. This is caused by the fact that the method uses a phony document, and the creator is not correctly set on that document.
Attachments
Issue Links
- blocks
-
XWIKI-1527 Delete button does not appear for unprivileged users even if they have proper rights
- Closed