You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ap...@apache.org on 2014/09/20 17:05:26 UTC
svn commit: r1626453 -
/ofbiz/trunk/specialpurpose/lucene/widget/LuceneScreens.xml
Author: apatel
Date: Sat Sep 20 15:05:26 2014
New Revision: 1626453
URL: http://svn.apache.org/r1626453
Log:
[OFBIZ-5675] Fix permission issues. Thanks Pierre Smits for bug report.
Thanks Deepak Dixit for fix.
Modified:
ofbiz/trunk/specialpurpose/lucene/widget/LuceneScreens.xml
Modified: ofbiz/trunk/specialpurpose/lucene/widget/LuceneScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/lucene/widget/LuceneScreens.xml?rev=1626453&r1=1626452&r2=1626453&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/lucene/widget/LuceneScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/lucene/widget/LuceneScreens.xml Sat Sep 20 15:05:26 2014
@@ -31,7 +31,7 @@ under the License.
<decorator-section name="pre-body">
<section>
<condition>
- <if-has-permission permission="CONTENTMGR" action="UPDATE"/>
+ <if-has-permission permission="CONTENTMGR" action="_VIEW"/>
</condition>
<widgets>
<include-menu name="cms" location="component://lucene/widget/LuceneMenus.xml"/>
@@ -41,13 +41,13 @@ under the License.
<decorator-section name="body">
<section>
<condition>
- <if-has-permission permission="CONTENTMGR" action="UPDATE"/>
+ <if-has-permission permission="CONTENTMGR" action="_VIEW"/>
</condition>
<widgets>
<decorator-section-include name="body"/>
</widgets>
<fail-widgets>
- <label style="h3">${uiLabelMap.ContentUpdatePermissionError}</label>
+ <label style="h3">${uiLabelMap.ContentViewPermissionError}</label>
</fail-widgets>
</section>
</decorator-section>