Author: hansbak
Date: Tue Oct 14 23:01:36 2008
New Revision: 704783
URL:
http://svn.apache.org/viewvc?rev=704783&view=revLog:
permission adjustment
Modified:
ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml
Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml?rev=704783&r1=704782&r2=704783&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml Tue Oct 14 23:01:36 2008
@@ -332,9 +332,12 @@
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
- <!-- do check for PARTYMGR, _VIEW permission -->
+ <!-- do check for PROJECTMGR, _VIEW permission -->
<condition>
- <if-has-permission permission="PROJECTMGR" action="_VIEW"/>
+ <or>
+ <if-has-permission permission="PARTYMGR" action="_ADMIN"/>
+ <if-has-permission permission="PROJECTMGR" action="_VIEW"/>
+ </or>
</condition>
<widgets>
<section>