openproject
openproject copied to clipboard
fix time entries endpoint to return ongoing time entries while lacking log own time permission
This might actually be exactly the problem in #50025.
The steps to reproduce are the following:
- Start logging some time for oneself
- Remove "log own time" permission from role in project
- Try logging time again
The user won't see that there is an ongoing time entry already.
I initially hoped to include the fix in 13.3.0 but that won't be enough time anymore, now. This PR still needs tests and QA. Let's put this into 13.3.1 then.
I will continue with this and confirm it when I'm back on Wednesday.