openproject icon indicating copy to clipboard operation
openproject copied to clipboard

fix time entries endpoint to return ongoing time entries while lacking log own time permission

Open machisuji opened this issue 2 years ago • 0 comments

This might actually be exactly the problem in #50025.

The steps to reproduce are the following:

  1. Start logging some time for oneself
  2. Remove "log own time" permission from role in project
  3. 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.

machisuji avatar Feb 09 '24 16:02 machisuji