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
Hi,
This may be an issue, defaultProject should be set differently for Project objects.
We'll have a look and propose a fix