svn commit: r1759678 - /ofbiz/trunk/applications/product/widget/facility/FacilityMenus.xml

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

svn commit: r1759678 - /ofbiz/trunk/applications/product/widget/facility/FacilityMenus.xml

jleroux@apache.org
Author: jleroux
Date: Wed Sep  7 19:43:06 2016
New Revision: 1759678

URL: http://svn.apache.org/viewvc?rev=1759678&view=rev
Log:
A patch from Pierre Smits for "Menu Item in FacilityMenus has wrong permission" OFBIZ-8172

The menu-item ShipmentGatewayConfig has a permission condition from accounting (PAYPROC), but should have a facility related permission.

Modified:
    ofbiz/trunk/applications/product/widget/facility/FacilityMenus.xml

Modified: ofbiz/trunk/applications/product/widget/facility/FacilityMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/facility/FacilityMenus.xml?rev=1759678&r1=1759677&r2=1759678&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/facility/FacilityMenus.xml (original)
+++ ofbiz/trunk/applications/product/widget/facility/FacilityMenus.xml Wed Sep  7 19:43:06 2016
@@ -27,7 +27,7 @@ under the License.
         <menu-item name="inventoryItemLabel" title="${uiLabelMap.ProductInventoryItemLabels}"><link target="FindInventoryItemLabels"/></menu-item>
         <menu-item name="ShipmentGatewayConfig" title="${uiLabelMap.FacilityShipmentGatewayConfig}">
             <condition>
-                <if-has-permission permission="PAYPROC" action="_ADMIN"/>
+                <if-has-permission permission="FACILITY" action="_ADMIN"/>
             </condition>
             <link target="FindShipmentGatewayConfig"/>
         </menu-item>