distro mirrors are not accessible over anonymous api
Bug #520469 reported by
Curtis Hovey
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Jonathan Davies |
Bug Description
securtity.py needs an explicit declaration:
class ViewDistributio
"""Anyone can view a DistroMIrror."""
usedfor = IDistributionMirror
This test will verify it works:
if __name__ == '__main__':
from launchpadlib.
lp = Launchpad.
ubuntu = lp.distribution
mirrors = ubuntu.
for mirror in mirrors[0:2]:
print "*Mirror*"
print mirror.name
print mirror.description
Related branches
lp:~jpds/launchpad/fix_520469
- Curtis Hovey (community): Approve (code)
-
Diff: 55 lines (+23/-4)2 files modifiedlib/canonical/launchpad/security.py (+5/-0)
lib/lp/registry/stories/webservice/xx-distribution-mirror.txt (+18/-4)
tags: | added: api mirror |
Changed in launchpad-registry: | |
assignee: | nobody → Jonathan Davies (jpds) |
status: | Triaged → In Progress |
Changed in launchpad-registry: | |
milestone: | none → 10.02 |
Changed in launchpad-registry: | |
status: | In Progress → Fix Committed |
tags: | added: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
To post a comment you must log in.
Fixed released in launchpad-project 10.02.