Merge lp:~jpds/launchpad/fix_518232 into lp:launchpad
Proposed by
Jonathan Davies
on 2010-02-07
| Status: | Merged |
|---|---|
| Approved by: | Henning Eggers on 2010-02-08 |
| Approved revision: | not available |
| Merged at revision: | not available |
| Proposed branch: | lp:~jpds/launchpad/fix_518232 |
| Merge into: | lp:launchpad |
| Diff against target: |
197 lines (+94/-20) 3 files modified
lib/lp/registry/configure.zcml (+4/-1) lib/lp/registry/interfaces/distributionmirror.py (+35/-19) lib/lp/registry/stories/webservice/xx-distribution-mirror.txt (+55/-0) |
| To merge this branch: | bzr merge lp:~jpds/launchpad/fix_518232 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Henning Eggers (community) | code | 2010-02-07 | Approve on 2010-02-08 |
|
Review via email:
|
|||
Commit Message
Restricted access to distribution mirror attributes with lp.Admin and lp.Edit accessible interfaces. Landed by henninge.
To post a comment you must log in.
| Jonathan Davies (jpds) wrote : | # |
| Henning Eggers (henninge) wrote : | # |
Thanks for making our webservice more secure. ;-)
Please, as discussed on IRC, make the test focus more on the attributes being restricted so that it's clearer what is beingn tested.
review:
Approve
(code)

= Summary =
Right now, anyone who uses the Launchpad API can access any attribute on IDistributionMi rror, regardless if they don't have launchpad.Edit or launchpad.Admin powers.
This branch implements the necessary restrictions to allow people to access mirror data as they normally would be able to via the web UI.