Anonymous API access to some collections returns nothing
Bug #515761 reported by
Jamal Fanaian
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Undecided
|
Jamal Fanaian |
Bug Description
The API does not allow anonymous access to project releases.
>>> from launchpadlib.
>>> lp = Launchpad.
>>> lp.projects[
[]
The same request, with proper authentication, will return the desired results.
Related branches
lp:~jamalta/launchpad/515761-anonymrelease
- Paul Hummer (community): Approve (code)
-
Diff: 270 lines (+84/-30) (has conflicts)7 files modifiedlib/canonical/launchpad/security.py (+36/-17)
lib/lp/bugs/interfaces/bugtask.py (+2/-4)
lib/lp/bugs/stories/webservice/xx-bug.txt (+12/-7)
lib/lp/registry/browser/configure.zcml (+1/-1)
lib/lp/registry/browser/productseries.py (+1/-1)
lib/lp/registry/stories/webservice/xx-project-registry.txt (+14/-0)
lib/lp/testing/factory.py (+18/-0)
summary: |
- Not able to access collections anonymously + Anonymous API access to some collections returns nothing |
affects: | launchpadlib → launchpad-foundations |
Changed in launchpad-foundations: | |
assignee: | nobody → Jamal Fanaian (jamalta) |
tags: | added: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-foundations: | |
milestone: | none → 10.02 |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It looks like the issue roots at not being able to access a project's series anonymously.