Private team todo list doesn't clear after leaving private team
Summary
Private team todo list doesn't clear after leaving private team
Original Report
Description of the problem
After being removed from a private team my Todo list hasn't removed the issue's connected to the private team. I now have a bunch of Todo notifications that I can't get rid of.
Approximate date/time when the error occurred.
Consistent for a few days now.
Describe what you were doing right before the issue occurred.
Described above.
Steps to reproduce
- Create a new user (UserA)
- As UserA, create a new Project (ProjectX)
- As UserA, create 3 new issues in ProjectX (Issue1, Issue2, Issue3)
- Create a new user (UserB)
- As UserA, add UserB to ProjectX as a member, Guest access will do
- As UserA, assign the 3 new issues to UserB
- As UserB, check your todos
- You should have 3
- As UserB, mark your assignment todo related to Issue1 as done
- (this isn't strictly necessary, but completing one todo is required to see the "to do" counter in the todos view)
- You should have 2 remaining todos (Issue2, Issue3)
- As UserA, remove UserB from ProjectX
- As UserB, check your todos
Example Project
N/A. User-level issue rather than project-level
What is the current bug behavior?
UserB still has todos that are associated with the project that they are no longer a part of. These todos are not visible but they contribute to the counters in the navigation bar and the todos list
What is the expected correct behavior?
Todo counters should reflect the number of todos actually visible
Relevant logs and/or screenshots
Output of checks
gitlab-ce~3293941 v10.0.2
Results of GitLab application Check
gitlab-ce~3293941 v10.0.2
Possible fixes
Edited by 🤖 GitLab Bot 🤖