launchpad.packagesets empty with anonymous login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
William Grant |
Bug Description
When I log in through the API I only get a list of packagesets if I log in regularly, not when I log in anonymously. This is with launchpadlib 1.5.4 (lucid).
>>> from launchpadlib.
>>> my_lp = Launchpad.
>>> anon_lp = Launchpad.
>>> [b for b in my_lp.packagesets]
[<packageset at https:/
>>> [b for b in anon_lp.
[]
>>>
Related branches
- Graham Binns (community): Approve (code)
-
Diff: 27 lines (+6/-1)2 files modifiedlib/canonical/launchpad/security.py (+5/-0)
lib/lp/soyuz/stories/webservice/xx-packageset.txt (+1/-1)
Changed in soyuz: | |
assignee: | nobody → William Grant (wgrant) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
I suspect the zcml declarations for packagesetset are too restrictive and need zope.public.