Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
3.0 Final, 3.0.1, 3.0.2, 3.1 M1
-
None
Description
info/magnolia/cms/security/MgnlRole.java from 3.0.0 to trunk has a typo in the removePermission method.
In trunk (revision 9751), Line 89
if (child.getNodeData("path").getString().equals("path")) {
This line should be
if (child.getNodeData("path").getString().equals(path)) {
The existing code compares the requested path against the string literal "path", instead of the value of the variable path. As a result permissions can not be removed through this Class.
Checklists
Acceptance criteria