MAAS Notifications should require user=True, admin=True or both.

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

Bug Description

If you create a notification with the following command it works, but the notification isn't visible by any user.

    maas profile notifications create message="Testing notification"

To be seen notifications, need to be created with admin=True, users=True or user=## (a user numeric ID)

We should verify that one of these has been provided.

Tags: api
Revision history for this message
Adam Collard (adam-collard) wrote :

Form validation improvement for notifications.

tags: added: api
Changed in maas:
milestone: none → 3.4.0
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.x
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.