Author: mor
Date: Fri Jul 15 13:08:07 2011
New Revision: 1147138
URL:
http://svn.apache.org/viewvc?rev=1147138&view=revLog:
Do not allow the anoymous user to update the shopping list item. Changes accidentally committed in last commit.
Modified:
ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml
ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml
Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml?rev=1147138&r1=1147137&r2=1147138&view=diff==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml Fri Jul 15 13:08:07 2011
@@ -157,7 +157,7 @@ under the License.
</if-empty>
</simple-method>
- <simple-method method-name="updateShoppingListItem" short-description="Update a ShoppingListItem" login-required="false">
+ <simple-method method-name="updateShoppingListItem" short-description="Update a ShoppingListItem">
<set field="parentMethodName" value="updateShoppingListItem"/>
<set field="permissionAction" value="UPDATE"/>
<call-simple-method method-name="checkShoppingListItemSecurity"/>
Modified: ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml?rev=1147138&r1=1147137&r2=1147138&view=diff==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml Fri Jul 15 13:08:07 2011
@@ -117,7 +117,7 @@ under the License.
<attribute name="productId" type="String" mode="IN" optional="false"/>
<attribute name="shoppingListItemSeqId" type="String" mode="OUT" optional="false"/>
</service>
- <service name="updateShoppingListItem" engine="simple" auth="false"
+ <service name="updateShoppingListItem" engine="simple" auth="true"
location="component://order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml" invoke="updateShoppingListItem">
<description>Update a shopping list item</description>
<implements service="shoppingListItemInterface"/>