Forum

Issue with the user...
 
Notifications
Retirer tout

Issue with the user's Role

3 Posts
3 Utilisateurs
0 Reactions
1,417 Vu
(@septseault)
Posts: 3
Active Member
Début du sujet
 
[#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


 
Posté : 16 Août PM 20:088
(@marylene)
Posts: 592
Membre 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


 
Posté : 23 Août AM 10:088
(@babynus)
Posts: 14952
Membre Admin
 

This issue will be fixed on V9.2.3


 
Posté : 24 Août PM 19:088
Share:
Retour en haut