The implementation can be done in a variety of ways and we can optimize as we review. I think the harder part here is setting up a way for user's to pick and choose which events they want to listen to.
Have users add "event_type" strings in a multi-string option, the event types are well defined in the format: "event_type": "identity.<resource_type>.<operation>"
[notifications]
opt-in = "identity.user.created"
or maybe the flip, out-opt
[notifications]
opt-out = "authenticate.success"
These are just my ideas, propose a patch and let's see what ideas are kicked around!
Hey Fernando,
The implementation can be done in a variety of ways and we can optimize as we review. I think the harder part here is setting up a way for user's to pick and choose which events they want to listen to.
Listing them out as booleans:
[notifications] authenticate_ success = True
listen_group_create = True
listen_group_delete = True
listen_group_update = True
...
listen_
Have users add "event_type" strings in a multi-string option, the event types are well defined in the format: "event_type": "identity. <resource_ type>.< operation> "
[notifications] user.created"
opt-in = "identity.
or maybe the flip, out-opt
[notifications] success"
opt-out = "authenticate.
These are just my ideas, propose a patch and let's see what ideas are kicked around!