Author: sascharodekamp
Date: Fri Apr 1 06:38:01 2011
New Revision: 1087596
URL:
http://svn.apache.org/viewvc?rev=1087596&view=revLog:
Bug - Unable to create project task contents as admin (
https://issues.apache.org/jira/browse/OFBIZ-3952). Apllied Jeremys modified patch. Just add an extra permission check for the PROJECT_ADMIN permission.
Orig.Msg.
When editing a task in the project manager application you cannot add content from the content tab if you have admin privileges. The permission is incorrectly labeled as "PROJECTMGR_ROLE_ADMIN" when it should be "PROJECTMGR_ADMIN."
Modified:
ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml
Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml?rev=1087596&r1=1087595&r2=1087596&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml Fri Apr 1 06:38:01 2011
@@ -516,6 +516,7 @@ under the License.
<section>
<condition>
<or>
+ <if-has-permission permission="PROJECTMGR_ADMIN"/>
<if-has-permission permission="PROJECTMGR_ROLE_ADMIN"/>
<if-has-permission permission="PROJECTMGR_ROLE_TASK_CREATE"/>
<if-has-permission permission="PROJECTMGR_ROLE_UPDATE"/>