Merge lp:~stevenk/launchpad/redirect-unsub-private-branch into lp:launchpad
Proposed by
Steve Kowalik
on 2012-08-09
| Status: | Merged |
|---|---|
| Approved by: | Steve Kowalik on 2012-08-09 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15778 |
| Proposed branch: | lp:~stevenk/launchpad/redirect-unsub-private-branch |
| Merge into: | lp:launchpad |
| Diff against target: |
99 lines (+57/-1) 2 files modified
lib/lp/code/browser/branchsubscription.py (+10/-1) lib/lp/code/browser/tests/test_branch.py (+47/-0) |
| To merge this branch: | bzr merge lp:~stevenk/launchpad/redirect-unsub-private-branch |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ian Booth (community) | 2012-08-09 | Approve on 2012-08-09 | |
|
Review via email:
|
|||
Commit Message
If the person unsubscribing themselves from a branch no longer has access to it, redirect them to branch's target canonical_url.
Description of the Change
If the person unsubscribing themselves from a branch no longer has access to it, redirect them to branch's target canonical_url. Add two tests for this case -- one where the subscriber has an APG, so doesn't lose access, and one where the subscriber does not, and so does lose access.
To post a comment you must log in.

Looks good.