mtierltd / timetracker

GNU Affero General Public License v3.0
82 stars 27 forks source link

User cannot see report on their projects #170

Open dbeniamine opened 2 years ago

dbeniamine commented 2 years ago

Some of our users, cannot see their reports on projects, I've found out that it happens for non admin users that have project affected to clients for which their is no link in the database between them and the client.

Manually adding links in oc_timetracker_user_to_client between these users and the clients of their projects seems to fix the issue.

Also I have the same issue as #145 so it might be linked, but I am not sure ...

nicoletflr commented 2 years ago

I had the same problem and assumed the same reason: no link between non admin user and client. I did not understand the fix (I'm not a programmer), but what I did helped as well: in the non admin user timetracker app> go to clients>fill in 'New client name..' and use the identical client name as the client that was connected with the project in the admin list. It worked!