svn commit: r704783 - /ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml

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

svn commit: r704783 - /ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml

hansbak-2
Author: hansbak
Date: Tue Oct 14 23:01:36 2008
New Revision: 704783

URL: http://svn.apache.org/viewvc?rev=704783&view=rev
Log:
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>