Merge lp:~bac/launchpad/bug-745660 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Brad Crittenden |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12717 |
Proposed branch: | lp:~bac/launchpad/bug-745660 |
Merge into: | lp:launchpad |
Diff against target: |
764 lines (+145/-518) 5 files modified
.bzrignore (+1/-0) Makefile (+17/-12) lib/canonical/launchpad/icing/icon-sprites.positioning (+0/-484) lib/lp/bugs/browser/structuralsubscription.py (+13/-3) lib/lp/bugs/browser/tests/test_expose.py (+114/-19) |
To merge this branch: | bzr merge lp:~bac/launchpad/bug-745660 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+55636@code.launchpad.net |
Commit message
[r=allenap][bug=745660] Filter the list of administered teams shown for structural subscriptions to distributions when a bug supervisor is set.
Description of the change
= Summary =
If a distribution has a bug supervisor team set then only members of
that team my have a structural subscription to that distro. This branch
filters out those teams from the ones presented in the structural
subscription widget.
== Proposed fix ==
The set of teams exposed to JavaScript is filtered under the conditions
stated above.
== Pre-implementation notes ==
Chats with Gary about the problem.
== Implementation details ==
As above.
== Tests ==
bin/test -vvm lp.bugs -t test_expose
== Demo and Q/A ==
Go to https:/
malone.
Login as stevea/test.
Go to https:/
Note that 'Ubuntu Gnome Team' is in the list of teams Steve can subscribe.
Go to http://
bug supervisor. You'll note that Ubuntu Gnome Team is not a member of
Ubuntu Team.
Go back to https:/
mail'. Now you'll see that Ubuntu Gnome Team is not one of his
selections. QED.
= Launchpad lint =
(Will fix as appropriate.)
Checking for conflicts and issues in changed files.
Linting changed files:
.bzrignore
lib/lp/
lib/lp/
Makefile
./lib/lp/
111: E231 missing whitespace after ','
./Makefile
81: Line exceeds 78 characters.
159: Line exceeds 78 characters.
289: Line exceeds 78 characters.
416: Line exceeds 78 characters.
446: Line exceeds 78 characters.
480: Line exceeds 78 characters.
This branch also removes icon-sprites. positioning from our tree as it is generated. The Makefile rules are updated to ensure it is built when needed.