Distribution archive owners cannot necessarily copy packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Colin Watson |
Bug Description
Nothing about being the owner of the Ubuntu archive (via ~ubuntu-archive) entitles one to copy packages into it. I can see how that's wise for uploads; we have archive administrators who aren't core developers and they shouldn't get that permission until they've demonstrated the usual significant level of packaging clue. However, for copies, this kind of gets in the way of automation (see bug 1006871 for examples). I ought to be able to set up a script that can copy packages from Debian for auto-syncing without also having to give it blanket upload rights.
Would it make sense, perhaps, for check_copy_
Related branches
- Benji York (community): Approve (code)
-
Diff: 218 lines (+114/-26)5 files modifiedlib/lp/security.py (+2/-13)
lib/lp/soyuz/interfaces/archive.py (+5/-4)
lib/lp/soyuz/model/archive.py (+13/-3)
lib/lp/soyuz/scripts/packagecopier.py (+11/-5)
lib/lp/soyuz/tests/test_archive.py (+83/-1)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: feature |
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Alternatively, check_copy_ permissions could check for queue admin permissions rather than checking archive.owner.