Unable to access archive_permission for archive when not logged in
Bug #1705996 reported by
Łukasz Zemczak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
When running as an anonymous user, accessing archive_permissions for a distribution's main_archive does not work.
>>> perms = lp.distribution
>>> len(perms)
761
>>> perms[0]
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/lib/
raise IndexError("list index out of range")
IndexError: list index out of range
The same operation works correctly when ran as an user.
affects: | launchpadlib → launchpad |
tags: | added: api lp-soyuz |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
To post a comment you must log in.