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

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

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

diveshdutta
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>