Author: thomas.heute(a)jboss.com
Date: 2007-02-13 09:12:46 -0500 (Tue, 13 Feb 2007)
New Revision: 6248
Modified:
trunk/cms/src/main/org/jboss/portal/cms/impl/jcr/command/ACLEnforcer.java
Log:
Fixed bug when non-admin user was doing a search.
Modified: trunk/cms/src/main/org/jboss/portal/cms/impl/jcr/command/ACLEnforcer.java
===================================================================
--- trunk/cms/src/main/org/jboss/portal/cms/impl/jcr/command/ACLEnforcer.java 2007-02-13
13:28:19 UTC (rev 6247)
+++ trunk/cms/src/main/org/jboss/portal/cms/impl/jcr/command/ACLEnforcer.java 2007-02-13
14:12:46 UTC (rev 6248)
@@ -140,7 +140,7 @@
}
else if(cmsSecurityContext.getAttribute("path")!=null)
{
- String path =
(String)cmsSecurityContext.getAttribute("applyFilter");
+ String path =
(String)cmsSecurityContext.getAttribute("path");
hasAccess = this.computeAccess(loggedInUser, path, "read");
}
//check if workflow management protection needs to be enforced
Show replies by date