Merge lp:~brian-murray/launchpad/subscribe-oops-bug-636412 into lp:launchpad
Proposed by
Brian Murray
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Curtis Hovey | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 11560 | ||||
Proposed branch: | lp:~brian-murray/launchpad/subscribe-oops-bug-636412 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
85 lines (+49/-0) 3 files modified
lib/lp/bugs/stories/structural-subscriptions/xx-bug-subscriptions.txt (+30/-0) lib/lp/registry/browser/structuralsubscription.py (+4/-0) lib/lp/registry/templates/structural-subscriptions-manage.pt (+15/-0) |
||||
To merge this branch: | bzr merge lp:~brian-murray/launchpad/subscribe-oops-bug-636412 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | ui | Approve | |
Māris Fogels (community) | Approve | ||
Review via email: mp+35459@code.launchpad.net |
Commit message
Don't display the +subscribe form for bug targets for people who cannot subscribe to the bug target.
Description of the change
Although the +subscribe link is no longer being displayed for distributions with a bug supervisor it seems that some people are still making it to launchpad.
To fix this I've made the form and the text preceding it conditional on whether or not one has the permission to subscribe to the bug reports about the bug target.
I've also added a test for this to xx-bug-
To post a comment you must log in.
Hi Brian,
This change looks good. r=mars.
May I suggest a small tweak to the wording to mention the reason why we are protecting the users from our system? Something like this:
You are unable to subscribe to bug reports about the Ubuntu project because it generates too much bug-related e-mail for most users to cope with.
If you really want to subscribe this project's bugmail then please contact the Ubuntu project bug supervisor.
Best,
Maris