Can't unassign newly self-assigned bug without refreshing
Bug #783271 reported by
William Grant
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Curtis Hovey |
Bug Description
Users can only unassign a bugtask if they are the assignee or a bug supervisor. But assigning oneself or one's teams doesn't refresh the privilege check cached in user_can_unassign, so the assignment cannot be reverted until the page is refreshed.
Related branches
lp:~sinzui/launchpad/unassign-bugs-0
- Brad Crittenden (community): Approve (code)
-
Diff: 204 lines (+7/-109)4 files modifiedlib/lp/bugs/interfaces/bugtask.py (+1/-6)
lib/lp/bugs/model/bugtask.py (+2/-9)
lib/lp/bugs/model/tests/test_bugtask.py (+4/-62)
lib/lp/bugs/stories/bugtask-management/xx-change-assignee.txt (+0/-32)
Changed in launchpad: | |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | In Progress → Fix Released |
To post a comment you must log in.