[
https://issues.apache.org/jira/browse/OFBIZ-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229148#comment-14229148 ]
Pierre Smits edited comment on OFBIZ-4206 at 11/30/14 4:40 PM:
---------------------------------------------------------------
Jacques,
I have tested your proposed modification
It works, as it shows the message 'You need at least a PROJECT_ADMIN permission to view this screen'.
But it is a solution I am not particular fond of, as it shows a message to the average user regarding something they won't get. The majority of users won't be persons with the permission PROJECT_ADMIN, but persons with the permission PROJECT_USER.
Regards,
Pierre
was (Author: pfm.smits):
Jacques,
I have tested your proposed modification
It works, as it shows the message 'You need at least a PROJECT_ADMIN permission to view this screen'.
But it is a solution I am not particular fond of, as it shows a message to the average user regarding something they won't get. The majority of users won't be persons with the role PROJECT_ADMIN, but persons with the role PROJECT_USER.
Regards,
Pierre
> 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, Release Branch 12.04, Release Branch 13.07, Trunk
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)