You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by si...@apache.org on 2007/04/02 21:32:13 UTC

svn commit: r524899 - in /ofbiz/trunk/applications/party: config/PartyUiLabels.properties script/org/ofbiz/party/party/PartyServices.xml

Author: sichen
Date: Mon Apr  2 12:32:12 2007
New Revision: 524899

URL: http://svn.apache.org/viewvc?view=rev&rev=524899
Log:
createPartyRole uses PARTYMGR_ROLE_CREATE permission as before the re-factoring to minilang

Modified:
    ofbiz/trunk/applications/party/config/PartyUiLabels.properties
    ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml

Modified: ofbiz/trunk/applications/party/config/PartyUiLabels.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/config/PartyUiLabels.properties?view=diff&rev=524899&r1=524898&r2=524899
==============================================================================
--- ofbiz/trunk/applications/party/config/PartyUiLabels.properties (original)
+++ ofbiz/trunk/applications/party/config/PartyUiLabels.properties Mon Apr  2 12:32:12 2007
@@ -215,7 +215,7 @@
 PartyCookie=Cookie
 PartyCountryCode=Country Code
 PartyCountryMissing=Country is missing
-PartyCreatePartyRolePermissionError=Security Error\: to run createPartyRole you must have the PARTYMGR_CREATE or PARTYMGR_ADMIN permission
+PartyCreatePartyRolePermissionError=Security Error\: to run createPartyRole you must have the PARTYMGR_ROLE_CREATE or PARTYMGR_ADMIN permission
 PartyDeletePartyRolePermissionError=Security Error\: to run deletePartyRole you must have the PARTYMGR_DELETE or PARTYMGR_ADMIN permission
 PartyCreateAddWebSiteRolePermissionError=Security Error\: to run addWebSiteRole you must have the PARTYMGR_CREATE or PARTYMGR_ADMIN permission
 PartyCreateAttributePermissionError=Security Error\: to run createPartyAttribute you must have the PARTYMGR_CREATE or PARTYMGR_ADMIN permission

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml?view=diff&rev=524899&r1=524898&r2=524899
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml Mon Apr  2 12:32:12 2007
@@ -24,7 +24,7 @@
 
     <!-- create PartyRole -->
     <simple-method method-name="createPartyRole" short-description="Create Party Role">
-        <check-permission permission="PARTYMGR" action="_CREATE">
+        <check-permission permission="PARTYMGR" action="_ROLE_CREATE">
             <accept-userlogin-party/>
             <fail-property resource="PartyUiLabels" property="PartyCreatePartyRolePermissionError"/>
         </check-permission>