Merge lp:~jameinel/maas/tags-exposing-nodes into lp:maas/trunk
Proposed by
John A Meinel
on 2012-09-26
| Status: | Merged |
|---|---|
| Approved by: | Martin Packman on 2012-09-26 |
| Approved revision: | 1079 |
| Merged at revision: | 1077 |
| Proposed branch: | lp:~jameinel/maas/tags-exposing-nodes |
| Merge into: | lp:maas/trunk |
| Diff against target: |
137 lines (+77/-4) 4 files modified
src/maasserver/api.py (+1/-4) src/maasserver/models/tag.py (+18/-0) src/maasserver/tests/test_api.py (+22/-0) src/maasserver/tests/test_tag.py (+36/-0) |
| To merge this branch: | bzr merge lp:~jameinel/maas/tags-exposing-nodes |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Martin Packman (community) | 2012-09-26 | Approve on 2012-09-26 | |
|
Review via email:
|
|||
Commit Message
/tag/<tagname>
Respect that if there is a node owner, it doesn't get shown to anyone but superusers and that owner.
Description of the Change
See commit message.
To post a comment you must log in.
lp:~jameinel/maas/tags-exposing-nodes
updated
on 2012-09-26
- 1079. By John A Meinel on 2012-09-26
-
Actually make the user a superuser.


Looks good, apart from test_get_ nodes_returns_ everything_ for_superuser not setting `user2.is_superuser = True` which you've now fixed already.