svn commit: r796769 - /ofbiz/trunk/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r796769 - /ofbiz/trunk/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml

adrianc
Author: adrianc
Date: Wed Jul 22 15:37:59 2009
New Revision: 796769

URL: http://svn.apache.org/viewvc?rev=796769&view=rev
Log:
Generic permission check bug fix, reported by Anne Jessel - https://issues.apache.org/jira/browse/OFBIZ-2749.

Modified:
    ofbiz/trunk/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml

Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml?rev=796769&r1=796768&r2=796769&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml (original)
+++ ofbiz/trunk/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml Wed Jul 22 15:37:59 2009
@@ -61,8 +61,8 @@
             <condition>
                 <or>
                     <!-- Permission checks include _ADMIN -->
-                    <if-has-permission permission="${primaryPermission}" action="_${parameters.mainAction}"/>
-                    <if-has-permission permission="${altPermission}" action="_${parameters.mainAction}"/>
+                    <if-has-permission permission="${primaryPermission}" action="_${mainAction}"/>
+                    <if-has-permission permission="${altPermission}" action="_${mainAction}"/>
                 </or>
             </condition>
             <then>