Some miscellanous questions
Posted by james yong on Apr 03, 2008; 10:11am
URL: http://ofbiz.116.s1.nabble.com/Some-miscellanous-questions-tp152778.html
Hi all,
I would like some clarification on the following questions:
Question 1
In applications/manufacturing/widget/manufacturing/LookupScreens.xml, line 27 & 67
<if-has-permission permission="MANUFACTURING" action="VIEW"/>
Shouldn't "VIEW" be "_VIEW"?
Question 2
In applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml, line 131
<check-permission permission="ACCOUNTING" action="_VIEW"><fail-message message="Security Error: to run calculateGlJournalTrialBalance you must have the ACCOUNTING_UPDATE or ACCOUNTING_ADMIN permission"/></check-permission>
According to the error message, shouldn't action="_UPDATE"?
Question 3
in applications/marketing/webapp/sfa/WEB-INF/controller.xml
<view-map name="FindOpportunity" type="screen" page="component://marketing/widget/sfa/OpportunityScreens.xml#FindOpportunity"/>
<view-map name="NewOpportunity" type="screen" page="component://marketing/widget/sfa/OpportunityScreens.xml#NewOpportunity"/>
<view-map name="viewOpportunity" type="screen" page="component://marketing/widget/sfa/OpportunityScreens.xml#viewOpportunity"/>
<view-map name="EditOpportunity" type="screen" page="component://marketing/widget/sfa/OpportunityScreens.xml#EditOpportunity"/>
I think it is better to that "FindOpportunity" be renamed as "findOpportunity"?
Question 4
In applications/accounting/widget/AgreementScreens.xml, ${uiLabelMap.AcccountingViewPermissionError} is used but not defined?
Regards,
James