MAAS notifications should support usernames

Bug #1884088 reported by Dougal Matthews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Low
Unassigned

Bug Description

Notifications can be created for a specific user. This functionality could be useful for admins that want to alert specific users. They can be created like this;

    maas $profile notifications create message="Hi alice" user=4

The user param needs to be the numeric user ID. However, we don't seem to expose this easily in the API (neither `users read` or `users read $username` include the ID).

It would make sense for this command to accept username, allowing the following;

    maas $profile notifications create message="Hi bob" user=bob

Changed in maas:
milestone: none → 3.5.0
summary: - Maas notifications should support usernames
+ MAAS notifications should support usernames
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.