Skip to content

Fix sidebar issue count

Felipe Cardozo requested to merge issue_38418 into master

What this mr does:

  1. When caching issue counts, cache two different counts: the total including confidential issues, and the total excluding confidential issues.

  2. If the user can see all confidential issues on that project, use the confidential issue count. If they can't, use the count excluding confidential issues.

    1. This does mean that the count will still be wrong for people with guest access who have created or are assigned to confidential issues.
  3. No changes needed for merge requests.

closes #38418 (closed)

Edited by Felipe Cardozo

Merge request reports