Author: bibryam
Date: Wed Nov 4 23:54:36 2009
New Revision: 832919
URL:
http://svn.apache.org/viewvc?rev=832919&view=revLog:
Added missing permission check to an ajax screen.
Removed a wrong parameter name.
Modified:
ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml
ofbiz/trunk/applications/content/widget/content/ContentScreens.xml
Modified: ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml?rev=832919&r1=832918&r2=832919&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AccountingTrees.xml Wed Nov 4 23:54:36 2009
@@ -33,7 +33,7 @@
<entity-one entity-name="GlAccount" value-field="glAccount"></entity-one>
<link target="GlAccountNavigate" text="${glAccountId} ${glAccount.accountName} ${postedBalance}">
<parameter param-name="glAccountId"/>
- <parameter param-name="trail" from-field="currentNodeTrailPiped"/>
+ <parameter param-name="trail"/>
</link>
<sub-node node-name="node-body">
<entity-and entity-name="GlAccount">
Modified: ofbiz/trunk/applications/content/widget/content/ContentScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentScreens.xml?rev=832919&r1=832918&r2=832919&view=diff==============================================================================
--- ofbiz/trunk/applications/content/widget/content/ContentScreens.xml (original)
+++ ofbiz/trunk/applications/content/widget/content/ContentScreens.xml Wed Nov 4 23:54:36 2009
@@ -67,6 +67,12 @@
</screen>
<screen name="findContentSearchResults">
<section>
+ <condition>
+ <if-has-permission permission="CONTENTMGR" action="_VIEW"/>
+ </condition>
+ <actions>
+ <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
+ </actions>
<widgets>
<include-form name="ListContent" location="component://content/widget/content/ContentForms.xml"/>
</widgets>