Merge lp:~jml/launchpad/drop-special-commercial-permissions into lp:launchpad
Status: | Merged |
---|---|
Approved by: | William Grant |
Approved revision: | no longer in the source branch. |
Merged at revision: | 15205 |
Proposed branch: | lp:~jml/launchpad/drop-special-commercial-permissions |
Merge into: | lp:launchpad |
Prerequisite: | lp:~jml/launchpad/narrow-commercial-celebrity |
Diff against target: |
113 lines (+15/-40) 3 files modified
lib/lp/security.py (+0/-8) lib/lp/soyuz/stories/webservice/xx-archive-commercial.txt (+5/-3) lib/lp/soyuz/tests/test_archive_agent.py (+10/-29) |
To merge this branch: | bzr merge lp:~jml/launchpad/drop-special-commercial-permissions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Anthony Lenton (community) | Approve | ||
William Grant | code | Approve | |
James Westby (community) | Approve | ||
Richard Harding (community) | code | Approve | |
Review via email: mp+104270@code.launchpad.net |
Commit message
No more special permissions for commercial archives.
Description of the change
We've discovered that we don't actually need as much of the permission that being ILaunchpadCeleb
Specifically, we don't actually care if 'commercial' is set on PPAs or not, since software-
You can think of the deleted tests as summarizing what software-
Code-wise this is pretty easy, but there's a relatively high integration risk. Thus, we're going to do integration testing with a demo copy of Launchpad run from EC2, so please don't land this until we give the all clear.
Also, I'd welcome reviews from a broader range of reviewers.
Another 25 deletions of credit, bring us up to 113 + 25 = 138.
Thanks,
jml
Thanks Jonathan, as a reviewer I'd tend to want to keep the check that the user doesn't have access/permissions to the private archive just so that I can be sure 100% that this doesn't enable something that was previously forbidden, but that's just because I'm not all that sure of the full set of possible ramifications.
I'm going to