Merge ~cjwatson/launchpad:fix-bpb-librarian-auth-condition into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | ccbf3a5a1fc9690170a319d3b63978c2abb38d21 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:fix-bpb-librarian-auth-condition |
Merge into: | launchpad:master |
Diff against target: |
93 lines (+49/-4) 3 files modified
lib/lp/soyuz/model/binarypackagebuildbehaviour.py (+1/-1) lib/lp/soyuz/tests/test_binarypackagebuildbehaviour.py (+43/-2) lib/lp/testing/factory.py (+5/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ioana Lasc (community) | Approve | ||
Review via email: mp+430310@code.launchpad.net |
Commit message
Fix the condition for dispatching tokens for private source files
Description of the change
If a librarian request has a token, then the librarian will only serve restricted files. In the case of source package release files, this isn't quite synonymous with files in private archives: source files in private archives may be unrestricted if the same source package is also published in a public archive. Only dispatch tokens for source files that are actually restricted.
To post a comment you must log in.