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.
Hi,
I cannot reproduce, all all seems correct with standard access rights.
For instance, corrected on Demo ( https://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)
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
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
OK
Thank you for being so quick 🙂
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.
Thank you for being so quick 🙂
My wife never thanked me for this :whistle:
😆 😆 😆 😆
Ok thanks it's works well:)