LP API doc incorrectly states archive.private is writeable
Bug #539880 reported by
Steve Magoun
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Cody A.W. Somerville |
Bug Description
The Launchpad API Doc claims that archive.private is a writeable attribute:
https:/
Despite the doc, it seems that you have to be an LP admin, a LOSA, or LP commerical admin to write this field. Please update the doc to either
a) mark this attribute as read-only or
b) Add a note that explains the limitation
Related branches
lp://staging/~cody-somerville/launchpad/update-archive-private-attribute-docstring
- Julian Edwards (community): Approve
- Canonical Launchpad Engineering: Pending requested
-
Diff: 13 lines (+2/-1)1 file modifiedlib/lp/soyuz/interfaces/archive.py (+2/-1)
lp://staging/~cody-somerville/launchpad/export-virtualized-flag-via-api
- Julian Edwards (community): Approve
- Canonical Launchpad Engineering: Pending requested
-
Diff: 111 lines (+41/-12)2 files modifiedlib/lp/soyuz/interfaces/archive.py (+7/-5)
lib/lp/soyuz/stories/webservice/xx-archive.txt (+34/-7)
affects: | launchpad → soyuz |
Changed in soyuz: | |
status: | Triaged → In Progress |
tags: | added: oem-services |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The doc change is the right thing to do and is trivial - just need to change the docstring on the exported attribute.