Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Issue with the user...
 
Notifications
Clear all

Issue with the user's Role

3 Posts
3 Users
0 Reactions
1,440 Views
(@septseault)
Posts: 3
Active Member
Topic starter
 
[#7697]

Hi,

I have seen that when a user have the project Leader role, he sometimes can't have access to the cost and work of its project. And it depends of the user.
This issue  appears when the project selector is set to "All Projects"

After checking a bit the code in ObjectDetail.php, I have seen that the defaultProject variable is set to the first project of the user even if he is only team member in it, and the permission of this project seemed to be used when displaying the selected project.
By removing the line "$defaultProject=$firstId;" it seems to resolve the permissions issue but may add other trouble, but I haven't thoroughly checked what exactly the code does.
What are your feeling about this issue ?

Regards


 
Posted : 16 Aug 2021 20H49
(@marylene)
Posts: 592
Contributor Admin
 

Hello

There is only one rule to respect on the forum, the one which flashes on the orange banner when you fill in your message ... write in English!
Thank you


 
Posted : 23 Aug 2021 10H54
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

This issue will be fixed on V9.2.3


 
Posted : 24 Aug 2021 19H41
Share:

Scroll to Top