Author: sichen
Date: Fri Oct 27 08:59:41 2006
New Revision: 468431
URL:
http://svn.apache.org/viewvc?view=rev&rev=468431Log:
Changed permission of calculateAcctgTransTrialBalance to ACCOUNTING_ATX_CREATE since this is invoked when the user is trying to create a transaction
Modified:
incubator/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml
Modified: incubator/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml?view=diff&rev=468431&r1=468430&r2=468431==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml (original)
+++ incubator/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml Fri Oct 27 08:59:41 2006
@@ -92,7 +92,7 @@
<!-- AcctgTrans Trial Balance and Post routines -->
<simple-method method-name="calculateAcctgTransTrialBalance" short-description="Calculate Trial Balance for a AcctgTrans">
- <check-permission permission="ACCOUNTING" action="_UPDATE"><fail-message message="Security Error: to run calculateAcctgTransTrialBalance you must have the ACCOUNTING_UPDATE or ACCOUNTING_ADMIN permission"/></check-permission>
+ <check-permission permission="ACCOUNTING" action="_ATX_CREATE"><fail-message message="Security Error: to run calculateAcctgTransTrialBalance you must have the ACCOUNTING_ATX_CREATE or ACCOUNTING_ADMIN permission"/></check-permission>
<check-errors/>
<!-- get all AcctgTransEntry for this trans, for each if debit add to debits total if credit add to credits total -->