Fix guest access for setting time estimate on issues
What does this MR do and why?
This MR addresses a low severity security issue where a guest was able to set time estimate on an authored issue. The steps to reproduce the problem are described in the security issue
The fix moves time tracking callback handling to issuables level so that it would be applied to all issuables, that support time tracking feature, eg. Issues, MRs, rather than just WorkItem model
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #435161 (closed)
Edited by Alexandru Croitor