Websocket API needs support for last seen, number of nodes in use, and user type
Bug #1840132 reported by
Lilyana Videnova
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Adam Collard |
Bug Description
From User:
last_login ("last seen" column)
user_item.
From UserProfile:
is_local ("type" column)
I don't think there should be any issues on the angular client with adding additional fields to the existing user object as there's no particular schema on the client. It would be ideal if the user object could grow these new properties, rather than having a separate object/rpc method. We should probably have a chat about sensible client/api versioning at some point though.
Related branches
~adam-collard/maas:user-websocket
Merged
into
maas:master
- Alberto Donato (community): Approve
-
Diff: 55 lines (+11/-1)2 files modifiedsrc/maasserver/websockets/handlers/tests/test_user.py (+3/-0)
src/maasserver/websockets/handlers/user.py (+8/-1)
Changed in maas: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Adam Collard (adam-collard) |
Changed in maas: | |
milestone: | none → 2.6.1 |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.6.1 → 2.7.0alpha1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.