The project manager returns an error on the main page unless every user is added to every single project. It should return a list of just the projects the user is assigned to. :ERROR MESSAGE: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Error running Groovy script at location [component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListCurrentProjects.groovy]: org.ofbiz.service.ServiceAuthException: You have no access to the project#: 10040 (Error running Groovy script at location [component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListCurrentProjects.groovy]: org.ofbiz.service.ServiceAuthException: You have no access to the project#: 10040) It defeats the point. Mansour: Pierre, The patch seems to restrict access to this scree to "PROJECTMGR_ADMIN". I am not sure if this issue is to be resolved in the screen or making the service returns projects the user has access to. I appreciate your help here. Pierre: Hi Mansour, You are right. The patch indeed does that and returns a blank screen for users other than with access 'PROJECTMGR_ADMIN. Other users can look at projects which will show projects the user is a member of. jleroux: I did not test all, but because of ListCurrentProjects.groovy, it seems to me that this is a better solution I added the CommonAsk label to help lambda users better understand the situation (by asking :p) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714415 13f79535-47bb-0310-9956-ffa450edef68
<#-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> This OFBiz component enables organisations to manage projects, project phases and project tasks. For more information about this component visit the product page in the OFBiz WIKI, which can be found at https://cwiki.apache.org/confluence/display/OFBIZ/Project+Management JIRA issues related to this component can be found at https://issues.apache.org/jira/browse/OFBIZ/component/12312073 Committed revisions can be viewed at http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/