Merge lp:~abentley/launchpad/build-security into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Tim Penhey | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~abentley/launchpad/build-security | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
139 lines (+64/-9) 3 files modified
lib/canonical/launchpad/security.py (+32/-6) lib/lp/code/tests/test_sourcepackagerecipebuild.py (+29/-1) lib/lp/testing/factory.py (+3/-2) |
||||
To merge this branch: | bzr merge lp:~abentley/launchpad/build-security | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Review via email: mp+23741@code.launchpad.net |
Commit message
Provide launchpad.View for SourcePackageRe
Description of the change
= Summary =
Fix bug 552976, "SourcePackageR
== Proposed fix ==
Define launchpad.View such that it is only provided when the user has
launchpad.View on the recipe and the archive.
== Pre-implementation notes ==
None
== Implementation details ==
Extracted DerivedAuthoriz
for ViewSourcePacka
== Tests ==
bin/test -t test_view_private test_sourcepack
== Demo and Q/A ==
None
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
lib/lp/
lib/canonical
lib/lp/
== Pylint notices ==
lib/lp/
13: [F0401] Unable to import 'transaction'
14: [F0401] Unable to import 'zope.component'
16: [F0401] Unable to import 'canonical.
18: [F0401] Unable to import 'canonical.
19: [F0401] Unable to import 'lp.buildmaster
20: [F0401] Unable to import 'lp.buildmaster
21: [F0401] Unable to import 'lp.code.
24: [F0401] Unable to import 'lp.testing'
Yay