Author: mor
Date: Fri Apr 2 11:48:54 2010 New Revision: 930250 URL: http://svn.apache.org/viewvc?rev=930250&view=rev Log: Replaced <if-has-permission permission="ACCOUNTING" action="_VIEW"/> with <if-service-permission service-name="acctgBasePermissionCheck" main-action="VIEW"/> Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml?rev=930250&r1=930249&r2=930250&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml Fri Apr 2 11:48:54 2010 @@ -150,7 +150,7 @@ </menu-item> <menu-item name="FinancialHistory" title="${uiLabelMap.PartyFinancialHistory}"> <condition> - <if-has-permission permission="ACCOUNTING" action="_VIEW"/> + <if-service-permission service-name="acctgBasePermissionCheck" main-action="VIEW"/> </condition> <link target="PartyFinancialHistory"> <parameter param-name="partyId"/> @@ -170,7 +170,7 @@ <menu name="ProfileSubTabBar" extends="CommonButtonBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="createNew" title="${uiLabelMap.AccountingBillingAccount}" > <condition> - <if-has-permission permission="ACCOUNTING" action="_VIEW"/> + <if-service-permission service-name="acctgBasePermissionCheck" main-action="VIEW"/> </condition> <link target="/accounting/control/FindBillingAccount" url-mode="inter-app"> <parameter param-name="partyId"/> @@ -178,7 +178,7 @@ </menu-item> <menu-item name="finAccounts" title="${uiLabelMap.AccountingFinAccounts}"> <condition> - <if-has-permission permission="ACCOUNTING" action="_VIEW"/> + <if-service-permission service-name="acctgBasePermissionCheck" main-action="VIEW"/> </condition> <link target="/accounting/control/FindFinAccount" url-mode="inter-app"> <parameter param-name="ownerPartyId" from-field="partyId"/> Modified: ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?rev=930250&r1=930249&r2=930250&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml Fri Apr 2 11:48:54 2010 @@ -288,7 +288,7 @@ <condition> <and> <not><if-empty field="ownedFinAccountList"/></not> - <if-has-permission permission="ACCOUNTING" action="_VIEW"/> + <if-service-permission service-name="acctgBasePermissionCheck" main-action="VIEW"/> </and> </condition> <widgets> |
Free forum by Nabble | Edit this page |