Anyone who can write to a sourcepackage should be able to set the official package branch
Bug #365098 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Francis J. Lacoste |
Bug Description
At the moment, only members of a particular team is allowed to set an official package branch. Instead, anyone who's allowed to write to the package should be able to set the branch.
This should also make the code a lot nicer.
Related branches
lp:~flacoste/launchpad/bug-365098
- Brad Crittenden (community): Approve (code)
-
Diff: 2398 lines (+368/-508)34 files modifieddatabase/sampledata/current-dev.sql (+0/-16)
database/sampledata/current.sql (+0/-16)
lib/canonical/launchpad/interfaces/_schema_circular_imports.py (+15/-11)
lib/canonical/launchpad/security.py (+23/-36)
lib/lp/app/browser/tests/test_launchpad.py (+6/-6)
lib/lp/app/doc/celebrities.txt (+0/-11)
lib/lp/app/interfaces/launchpad.py (+0/-1)
lib/lp/app/utilities/celebrities.py (+1/-2)
lib/lp/code/browser/tests/test_branchlisting.py (+4/-9)
lib/lp/code/configure.zcml (+0/-11)
lib/lp/code/interfaces/seriessourcepackagebranch.py (+8/-24)
lib/lp/code/model/branch.py (+6/-4)
lib/lp/code/model/seriessourcepackagebranch.py (+11/-7)
lib/lp/code/model/tests/test_branch.py (+13/-25)
lib/lp/code/model/tests/test_branchcollection.py (+60/-58)
lib/lp/code/model/tests/test_branchlookup.py (+6/-11)
lib/lp/code/model/tests/test_branchtarget.py (+10/-14)
lib/lp/code/model/tests/test_linkedbranch.py (+11/-19)
lib/lp/code/stories/branches/xx-branch-deletion.txt (+11/-12)
lib/lp/code/stories/branches/xx-branch-edit.txt (+8/-9)
lib/lp/code/tests/helpers.py (+5/-14)
lib/lp/code/tests/test_branch_webservice.py (+3/-7)
lib/lp/code/tests/test_branchmergeproposal.py (+3/-5)
lib/lp/code/tests/test_seriessourcepackagebranch.py (+14/-53)
lib/lp/codehosting/branchdistro.py (+1/-2)
lib/lp/registry/configure.zcml (+4/-2)
lib/lp/registry/doc/person.txt (+4/-5)
lib/lp/registry/doc/vocabularies.txt (+0/-2)
lib/lp/registry/interfaces/role.py (+0/-3)
lib/lp/registry/interfaces/sourcepackage.py (+39/-32)
lib/lp/registry/model/sourcepackage.py (+11/-6)
lib/lp/registry/stories/webservice/xx-source-package.txt (+26/-35)
lib/lp/registry/tests/test_sourcepackage.py (+61/-33)
lib/lp/testing/factory.py (+4/-7)
Changed in launchpad-bazaar: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in launchpad-bazaar: | |
importance: | High → Low |
Changed in launchpad: | |
assignee: | nobody → Francis J. Lacoste (flacoste) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r13180 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 13180>.