Merge lp:~thumper/launchpad/branch-push-permission into lp:launchpad
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Approved by: | Michael Hudson-Doyle |
Approved revision: | not available |
Merged at revision: | 10360 |
Proposed branch: | lp:~thumper/launchpad/branch-push-permission |
Merge into: | lp:launchpad |
Diff against target: |
67 lines (+34/-3) 2 files modified
lib/lp/code/browser/branch.py (+5/-3) lib/lp/code/browser/tests/test_branch.py (+29/-0) |
To merge this branch: | bzr merge lp:~thumper/launchpad/branch-push-permission |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Hudson-Doyle | Approve | ||
Review via email: mp+19834@code.launchpad.net |
Commit message
Use launchpad.Edit to determine on the branch-index.pt template whether the user can upload to the branch.
To post a comment you must log in.
Change the code that controls the "bzr push" display on the branch page to use the launchpad.Edit permission rather than checking ownership of the branch.