Registry Admin does not have permission to delete teams
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Curtis Hovey |
Bug Description
The recent change to remove super teams before starting a merge breaks team deletions by the registry admins. The team does not have permission to call retractTeamMemb
1. The call to get super teams appears to be getting former or non-existent teams. retractTeamMemb
2. As with view code that prepares an object for deletion or merge, the case requires super privileges to complete the cleanup. Either Registry admins should have launchpad.Edit on the team, or gets special privileges on the method, or the view removed the security proxy to complete the task.
Related branches
- Henning Eggers (community): Approve (code)
-
Diff: 103 lines (+26/-9)2 files modifiedlib/lp/registry/browser/peoplemerge.py (+12/-7)
lib/lp/registry/browser/tests/test_peoplemerge.py (+14/-2)
tags: |
added: bugjam2010 qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
milestone: | none → 11.01 |
Fixed in stable r12052 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12052>.