Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
2.1.5
-
None
-
WinXP, jdk1.5.0_06, tomcat5.5, magnolia2.1.6
Description
The problem is on the 2.1.6 only, and it's because of this lines from QueryResultImpl:
boolean isAllowed = !SecureURI.isProtected(path);
if (this.accessManager != null)
{ this.accessManager.isGranted(path, Permission.READ); }if (isAllowed)
{ collection.add(new Content(node, this.accessManager)); this.dirtyHandles.put(node.getPath(), StringUtils.EMPTY); }when in author mode isAllowed is always false
this is the solution:
isAllowed = this.accessManager.isGranted(path, Permission.READ);
Checklists
Acceptance criteria