Merge lp:~jpds/launchpad/fix_518232 into lp:launchpad
Proposed by
Jonathan Davies
Status: | Merged |
---|---|
Approved by: | Henning Eggers |
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 | Approve | |
Review via email: mp+18778@code.launchpad.net |
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.
= 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.