Author: jleroux
Date: Mon Jan 14 07:47:53 2008 New Revision: 611833 URL: http://svn.apache.org/viewvc?rev=611833&view=rev Log: This fix a bug introduced in revision 611309 which was reported by Jeremy Wickersheimer in "Re-Factor Facility permissions of Product component to follow new patterns." OFBIZ-1569 https://issues.apache.org/jira/browse/OFBIZ-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558548#action_12558548 Modified: ofbiz/trunk/applications/product/servicedef/services_facility.xml Modified: ofbiz/trunk/applications/product/servicedef/services_facility.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_facility.xml?rev=611833&r1=611832&r2=611833&view=diff ============================================================================== --- ofbiz/trunk/applications/product/servicedef/services_facility.xml (original) +++ ofbiz/trunk/applications/product/servicedef/services_facility.xml Mon Jan 14 07:47:53 2008 @@ -32,7 +32,6 @@ <service name="checkFacilityRelatedPermission" engine="simple" location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="checkFacilityRelatedPermission"> <description>Facility Permission Checking Logic</description> - <implements service="permissionInterface"/> </service> <service name="checkProductFacilityRelatedPermission" engine="simple" location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="checkProductFacilityRelatedPermission"> @@ -43,7 +42,7 @@ <service name="createInventoryItem" default-entity-name="InventoryItem" engine="simple" location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="createInventoryItem" auth="true"> <description>Create an InventoryItem</description> - <permission-service service-name="checkFacilityRelatedPermission" main-action="CREATE"/> + <permission-service service-name="facilityGenericPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="OUT" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"> <exclude field-name="availableToPromiseTotal"/> @@ -65,7 +64,7 @@ <service name="updateInventoryItem" default-entity-name="InventoryItem" engine="simple" location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="updateInventoryItem" auth="true"> <description>Update an InventoryItem</description> - <permission-service service-name="checkFacilityRelatedPermission" main-action="UPDATE"/> + <permission-service service-name="facilityGenericPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"> <exclude field-name="availableToPromiseTotal"/> @@ -121,14 +120,14 @@ <service name="createInventoryItemVariance" default-entity-name="InventoryItemVariance" engine="simple" location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="createInventoryItemVariance" auth="true"> <description>Create an InventoryItemVariance - note that the quantityOnHand and availableToPromise are relative and will be added to the corresponding value on the given InventoryItem</description> - <permission-service service-name="checkFacilityRelatedPermission" main-action="CREATE"/> + <permission-service service-name="facilityGenericPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="createPhysicalInventory" default-entity-name="PhysicalInventory" engine="simple" location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="createPhysicalInventory" auth="true"> <description>Create an PhysicalInventory</description> - <permission-service service-name="checkFacilityRelatedPermission" main-action="CREATE"/> + <permission-service service-name="facilityGenericPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="OUT" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> |
Free forum by Nabble | Edit this page |