Loading time issues on tasks of project I have no access to
Added by Владислав Силантьев 5 months ago
I have an app that loads time logs data from Redmine and do something with it. It have been working just fine but today I encountered an issue.
Today I have logged some time on a task on some project, that is not mine. Then, project owner revoke my access to this project.
So I logged 8 hours of work on a date.
Then I load my time logs for today it is only 7.5h, and it seems like the rest of 0.5h (that was logged on a project that I no longer has access to) is missing.
Is there any way to load time logs from project, where I have some time logged but don't have access to? Or am I do something wrong?
Here's how my integration works:
1. It loads all the time entries for today (request on '/time_entries.json', with params ['spent_on' => '2024-03-07', 'user_id' => valid_user_id_value])
2. I foreach every time entry and requesting '/issues/current_issue_id.json' with params ['include' => 'journals']
3. Then I parse the result and gather data collection
Any advice would be much appreciated!
Replies (1)
RE: Loading time issues on tasks of project I have no access to
-
Added by Holger Just 5 months ago
That is not possible as it is exactly how the permissions in Redmine are supposed to work, namely to only grant you access to data you have explicit permissions to access.
If you once had access to a project and that access is later revoked, you won't be able to access any data from that project anymore. If you still require access, please ask the Administrator of your Redmine installation to grant you access to the project again.