You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2009/04/30 21:32:43 UTC

svn commit: r770407 - in /ofbiz/trunk/themes: bluelight/includes/appbar.ftl flatgrey/includes/appbar.ftl flatgrey/includes/footer.ftl smoothfeather/includes/appbar.ftl smoothfeather/includes/secondary-appbar.ftl

Author: jaz
Date: Thu Apr 30 19:32:42 2009
New Revision: 770407

URL: http://svn.apache.org/viewvc?rev=770407&view=rev
Log:
This should have been part of rev 770401; just forgot to include it

JIRA OFBIZ-2381

Modified:
    ofbiz/trunk/themes/bluelight/includes/appbar.ftl
    ofbiz/trunk/themes/flatgrey/includes/appbar.ftl
    ofbiz/trunk/themes/flatgrey/includes/footer.ftl
    ofbiz/trunk/themes/smoothfeather/includes/appbar.ftl
    ofbiz/trunk/themes/smoothfeather/includes/secondary-appbar.ftl

Modified: ofbiz/trunk/themes/bluelight/includes/appbar.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/includes/appbar.ftl?rev=770407&r1=770406&r2=770407&view=diff
==============================================================================
--- ofbiz/trunk/themes/bluelight/includes/appbar.ftl (original)
+++ ofbiz/trunk/themes/bluelight/includes/appbar.ftl Thu Apr 30 19:32:42 2009
@@ -36,7 +36,7 @@
               <#assign selected = false>
               <#assign permissions = display.getBasePermission()>
               <#list permissions as perm>
-                <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session) && !authz.hasPermission(session, perm, requestParameters, false))>
+                <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session) && !authz.hasPermission(session, perm, requestParameters))>
                   <#-- User must have ALL permissions in the base-permission list -->
                   <#assign permission = false>
                 </#if>

Modified: ofbiz/trunk/themes/flatgrey/includes/appbar.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/includes/appbar.ftl?rev=770407&r1=770406&r2=770407&view=diff
==============================================================================
--- ofbiz/trunk/themes/flatgrey/includes/appbar.ftl (original)
+++ ofbiz/trunk/themes/flatgrey/includes/appbar.ftl Thu Apr 30 19:32:42 2009
@@ -32,7 +32,7 @@
         <#assign selected = false>
         <#assign permissions = display.getBasePermission()>
         <#list permissions as perm>
-          <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session) && !authz.hasPermission(session, perm, requestParameters, false))>
+          <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session) && !authz.hasPermission(session, perm, requestParameters))>
             <#-- User must have ALL permissions in the base-permission list -->
             <#assign permission = false>
           </#if>

Modified: ofbiz/trunk/themes/flatgrey/includes/footer.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/includes/footer.ftl?rev=770407&r1=770406&r2=770407&view=diff
==============================================================================
--- ofbiz/trunk/themes/flatgrey/includes/footer.ftl (original)
+++ ofbiz/trunk/themes/flatgrey/includes/footer.ftl Thu Apr 30 19:32:42 2009
@@ -34,7 +34,7 @@
       <#assign selected = false>
       <#assign permissions = display.getBasePermission()>
       <#list permissions as perm>
-        <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session) && !authz.hasPermission(session, perm, requestParameters, false))>
+        <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session) && !authz.hasPermission(session, perm, requestParameters))>
           <#-- User must have ALL permissions in the base-permission list -->
           <#assign permission = false>
         </#if>

Modified: ofbiz/trunk/themes/smoothfeather/includes/appbar.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/smoothfeather/includes/appbar.ftl?rev=770407&r1=770406&r2=770407&view=diff
==============================================================================
--- ofbiz/trunk/themes/smoothfeather/includes/appbar.ftl (original)
+++ ofbiz/trunk/themes/smoothfeather/includes/appbar.ftl Thu Apr 30 19:32:42 2009
@@ -33,7 +33,7 @@
               <#assign selected = false>
               <#assign permissions = display.getBasePermission()>
               <#list permissions as perm>
-                <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session) && !authz.hasPermission(session, perm, requestParameters, false))>
+                <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session) && !authz.hasPermission(session, perm, requestParameters))>
                   <#-- User must have ALL permissions in the base-permission list -->
                   <#assign permission = false>
                 </#if>

Modified: ofbiz/trunk/themes/smoothfeather/includes/secondary-appbar.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/smoothfeather/includes/secondary-appbar.ftl?rev=770407&r1=770406&r2=770407&view=diff
==============================================================================
--- ofbiz/trunk/themes/smoothfeather/includes/secondary-appbar.ftl (original)
+++ ofbiz/trunk/themes/smoothfeather/includes/secondary-appbar.ftl Thu Apr 30 19:32:42 2009
@@ -32,7 +32,7 @@
       <#assign selected = false>
       <#assign permissions = display.getBasePermission()>
       <#list permissions as perm>
-        <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session) && !authz.hasPermission(session, perm, requestParameters, false))>
+        <#if (perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session) && !authz.hasPermission(session, perm, requestParameters))>
           <#-- User must have ALL permissions in the base-permission list -->
           <#assign permission = false>
         </#if>