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.
At the moment I do not have the time to work on a more elaborate solution. The patch is just a quick fix... Regards, Pierre 2011/8/13 Mansour Al Akeel (JIRA) <j...@apache.org> > > [ > https://issues.apache.org/jira/browse/OFBIZ-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084475#comment-13084475] > > Mansour Al Akeel commented on OFBIZ-4206: > ----------------------------------------- > > 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. > > > > Project Manager throws error if project user is not assigned to every > project > > > ----------------------------------------------------------------------------- > > > > Key: OFBIZ-4206 > > URL: https://issues.apache.org/jira/browse/OFBIZ-4206 > > Project: OFBiz > > Issue Type: Bug > > Components: specialpurpose/projectmgr > > Affects Versions: Release 09.04 > > Environment: RHEL 5.5 32 bit JDK > > Reporter: Tolulope Aganga-Williams > > Priority: Minor > > Labels: patch > > Attachments: ofbiz-trunk-projectmgr-commonscreens-20110722.patch > > > > Original Estimate: 24h > > Remaining Estimate: 24h > > > > 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. > > -- > This message is automatically generated by JIRA. > For more information on JIRA, see: http://www.atlassian.com/software/jira > > >