View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Issue with the user's Role - ProjeQtOr
 

Issue with the user's Role

More
16 Aug 2021 17:48 #1 by septseault
Hi,

I have seen some strange behavior of projeQtor for user with a role of "Project Leader" : depending of the user with this role, Cost or Work information are not accessible in the project.
After some testing, I have seen this issue appears when the project selector is set to "All Projects".

To understand this issue, I had a look in the code in objectDetail.php,
and it seems that the variable defaultProject is set to first project of the user. And so, if the user as only a role of classical member on this project, restrictions appear on the selected project even if it's not this first project.
Just to check, I have commented the line
" $defaultProject=$firstId; "
And the user seems to get the right permissions, but may broke something else.
But I haven't checked in depth exactly what the code does, I could be wrong.
Do you have a feeling about it?

Regards
 

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

More
18 Aug 2021 17:05 #2 by babynus
Replied by babynus on topic Issue with the user's Role
Hi,

This may be an issue, defaultProject should be set differently for Project objects.
We'll have a look and propose a fix

Babynus
Administrator of ProjeQtOr web site

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

Moderators: babynusprotion
Time to create page: 0.026 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.