View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - No Project restriction in ticket - ProjeQtOr
 

No Project restriction in ticket

More
04 Jan 2018 10:30 #1 by Pierre-Henri
Hi,

I have restricted user ( ExternalProject manager), normaly they just have access to their own project, but when they open a ticket
In the section Prject they have access to all the project list ( the restriction is ok on the menu and they can't open a ticket in an other project)
My problem is just on the project visiibility.

I'm on the 6.5.2

Thanks in advance.

Please Log in or Create an account to join the conversation.

More
04 Jan 2018 10:59 #2 by babynus
Hi,
I cannot reproduce, all all seems correct with standard access rights.
For instance, corrected on Demo (demo.projeqtor.org) as Manager; I can only see projects the user Manager is allocated to.

Can you please try and reproduce yur case on demo and/or post screenshots of your use case ?
(list of projects, access rights, allocation to projects)

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
04 Jan 2018 11:27 #3 by Pierre-Henri
Ok so this is my user case :

I have a user (external manager) with restricted project : TMA XXXXX
No problem on global project but when she open a ticket she have all the project list.

I give you the ticket screenshoot and the configuration
Attachments:

Please Log in or Create an account to join the conversation.

More
04 Jan 2018 11:50 #4 by babynus
Hi,

I could not reproduce first.
Then I played with user parameters and could reproduce.
Issue appears when user selects new parameter "restrict project list" to "Yes".
This is done to restrict list of project to project select in the project selector (and it's sub-project) but retreives full list (not corresponding to user access rights) when "all projects" is selected.

Issue recorded as Ticket #3181 and will soon be fixed

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
04 Jan 2018 11:59 #5 by Pierre-Henri
OK

Thank you for being so quick :)

Please Log in or Create an account to join the conversation.

More
04 Jan 2018 12:12 - 04 Jan 2018 12:14 #6 by babynus

Thank you for being so quick :)

My wife never thanked me for this :whistle:

Quick fix is to replace line 281 in tool/html.php from
if(Parameter::getUserParameter("restrictProjectList")=="true") {
to
if(Parameter::getUserParameter("restrictProjectList")=="true" and getSessionValue("project") and getSessionValue("project")!='*') {

A better fix will soon be deployed, to take into account possible restriction on sub projects : if you have project P1, P1.1 and P1.2 (P1.1 and P1.2 are sub-project of P1) and user has creation rights on P1 and P1.2 but not on P1.1 (he is allocated to this sub-project with profile with less rights), then only P1 and P1.2 should be listed, whatever the selected project in the project selector.

Babynus
Administrator of ProjeQtOr web site
Last edit: 04 Jan 2018 12:14 by babynus.
The following user(s) said Thank You: Pierre-Henri

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.040 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.