Some miscellanous questions

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

Some miscellanous questions

james yong
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
Reply | Threaded
Open this post in threaded view
|

Re: Some miscellanous questions

Jacopo Cappellato-3
Thanks James,

#1 and #2 are fixed in rev. 644618 and 644616.

Jacopo

On Apr 3, 2008, at 12:11 PM, james yong wrote:

>
> 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
> --
> View this message in context: http://www.nabble.com/Some-miscellanous-questions-tp16467372p16467372.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>