svn commit: r1831608 - /ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services.xml

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

svn commit: r1831608 - /ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services.xml

Deepak Dixit-5
Author: deepak
Date: Tue May 15 06:20:05 2018
New Revision: 1831608

URL: http://svn.apache.org/viewvc?rev=1831608&view=rev
Log:
Fixed: Wrong permission action leads to error
(OFBIZ-10405)
Thanks Suraj Khurana for your contribution

Modified:
    ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services.xml?rev=1831608&r1=1831607&r2=1831608&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services.xml Tue May 15 06:20:05 2018
@@ -654,14 +654,14 @@ under the License.
     <service name="createCommunicationEventOrder" default-entity-name="CommunicationEventOrder" engine="entity-auto" invoke="create" auth="true">
         <description>Create a Communication Event Order</description>
         <required-permissions join-type="AND">
-            <check-permission permission="ORDERMGR" action="CREATE"/>
+            <check-permission permission="ORDERMGR" action="_CREATE"/>
         </required-permissions>
         <auto-attributes entity-name="CommunicationEventOrder" include="pk" mode="IN"/>
     </service>
     <service name="removeCommunicationEventOrder" default-entity-name="CommunicationEventOrder" engine="entity-auto" invoke="delete" auth="true">
         <description>Remove a Communication Event Order</description>
         <required-permissions join-type="AND">
-            <check-permission permission="ORDERMGR" action="DELETE"/>
+            <check-permission permission="ORDERMGR" action="_DELETE"/>
         </required-permissions>
         <auto-attributes entity-name="CommunicationEventOrder" include="pk" mode="IN"/>
     </service>
@@ -670,7 +670,7 @@ under the License.
     <service name="createOrderItemShipGroup" default-entity-name="OrderItemShipGroup" engine="entity-auto" invoke="create" auth="true">
         <description>Creates a new OrderItemShipGroup.</description>
         <required-permissions join-type="AND">
-            <check-permission permission="ORDERMGR" action="CREATE"/>
+            <check-permission permission="ORDERMGR" action="_CREATE"/>
         </required-permissions>
         <auto-attributes mode="IN" include="nonpk" optional="true"/>
         <attribute name="orderId" type="String" mode="IN" optional="false"/>
@@ -689,7 +689,7 @@ under the License.
     <service name="createOrderContactMech" default-entity-name="OrderContactMech" engine="entity-auto" invoke="create" auth="true">
         <description>Create Order Contact Mech</description>
         <required-permissions join-type="AND">
-            <check-permission permission="ORDERMGR" action="CREATE"/>
+            <check-permission permission="ORDERMGR" action="_CREATE"/>
         </required-permissions>
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
@@ -704,7 +704,7 @@ under the License.
     <service name="removeOrderContactMech" default-entity-name="OrderContactMech" engine="entity-auto" invoke="delete" auth="true">
         <description>Remove Order Contact Mech</description>
         <required-permissions join-type="AND">
-            <check-permission permission="ORDERMGR" action="DELETE"/>
+            <check-permission permission="ORDERMGR" action="_DELETE"/>
         </required-permissions>
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
@@ -713,7 +713,7 @@ under the License.
     <service name="createOrderTerm" default-entity-name="OrderTerm" engine="entity-auto" invoke="create" auth="true">
         <description>Create an Order Term</description>
         <required-permissions join-type="AND">
-            <check-permission permission="ORDERMGR" action="CREATE"/>
+            <check-permission permission="ORDERMGR" action="_CREATE"/>
         </required-permissions>
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
@@ -722,7 +722,7 @@ under the License.
     <service name="updateOrderTerm" default-entity-name="OrderTerm" engine="entity-auto" invoke="update" auth="true">
         <description>Update an Order Term</description>
         <required-permissions join-type="AND">
-            <check-permission permission="ORDERMGR" action="UPDATE"/>
+            <check-permission permission="ORDERMGR" action="_UPDATE"/>
         </required-permissions>
         <auto-attributes entity-name="OrderTerm" include="pk" mode="IN" optional="false"/>
         <auto-attributes entity-name="OrderTerm" include="nonpk" mode="IN" optional="true"/>
@@ -730,7 +730,7 @@ under the License.
     <service name="removeOrderTerm" default-entity-name="OrderTerm" engine="entity-auto" invoke="delete" auth="true">
         <description>Remove an Order Term</description>
         <required-permissions join-type="AND">
-            <check-permission permission="ORDERMGR" action="DELETE"/>
+            <check-permission permission="ORDERMGR" action="_DELETE"/>
         </required-permissions>
         <auto-attributes entity-name="OrderTerm" include="pk" mode="IN" optional="false"/>
     </service>