Merge lp:~wallyworld/launchpad/view-private-branch-artifacts-605130 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Curtis Hovey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 14489 |
Proposed branch: | lp:~wallyworld/launchpad/view-private-branch-artifacts-605130 |
Merge into: | lp:launchpad |
Prerequisite: | lp:~wallyworld/launchpad/private-owned-entity-traversal-2 |
Diff against target: |
200 lines (+123/-3) 3 files modified
lib/lp/code/browser/branch.py (+9/-1) lib/lp/code/browser/branchsubscription.py (+14/-2) lib/lp/code/browser/tests/test_branch.py (+100/-0) |
To merge this branch: | bzr merge lp:~wallyworld/launchpad/view-private-branch-artifacts-605130 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+85287@code.launchpad.net |
This proposal supersedes a proposal from 2011-12-01.
Commit message
[r=sinzui] Grant LimitedView to private team branch subscribers.
Description of the change
Resubmitting to change the prerequisite branch (the prerequisite branch failed qa and needed to be fixed so a new mp has been created for that). Once the new prerequisite branch is approved, this mp will be the one that is landed so both branches are landed together.
== Implementation ==
Use the same technique as for bugs - precache the launchpad.
The previous version of this branch also solved the traversal issue which prevented branches owned by private teams from being traversed if the user could not see the private team. This work has been moved to an upstream branch.
== Test ==
Add new test case TestBranchViewP
- test_view_
- test_view_
- test_anonymous_
- test_view_
- test_anonymous_
== Lint ==
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
This implementation looks good. I think these can be linted and commented, then submitted for a real review. I think this implementation can be applied to the team p3a subscriber case -- that would prove that this implementation is robust.