You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by di...@apache.org on 2016/07/04 17:56:45 UTC

svn commit: r1751357 - /ofbiz/trunk/applications/party/servicedef/secas.xml

Author: diveshdutta
Date: Mon Jul  4 17:56:45 2016
New Revision: 1751357

URL: http://svn.apache.org/viewvc?rev=1751357&view=rev
Log:
[OFBIZ-7518] Fixed: Unable to create Product Store Roles from Party manager. Thanks Ankush Upadhyay for your patch and Nicolas Malin for your suggestion. 

Modified:
    ofbiz/trunk/applications/party/servicedef/secas.xml

Modified: ofbiz/trunk/applications/party/servicedef/secas.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/secas.xml?rev=1751357&r1=1751356&r2=1751357&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/party/servicedef/secas.xml Mon Jul  4 17:56:45 2016
@@ -23,6 +23,9 @@ under the License.
     <eca service="createPerson" event="commit">
         <action service="ensureNaPartyRole" mode="sync"/>
     </eca>
+    <eca service="createProductStoreRole" event="invoke">
+        <action service="ensurePartyRole" mode="sync" run-as-user="system"/>
+    </eca>
     <eca service="createPartyGroup" event="commit">
         <action service="ensureNaPartyRole" mode="sync"/>
     </eca>