Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-22409

Specify admins as recipients on Insights events

XMLWordPrintable

    • Specify admins as recipients on Insights events
    • False
    • False
    • Unset
    • Done
    • RHIN-31 - Insights events & notifications/integrations
    • 100
    • 100% 100%
    • Undefined

      Feature Overview

      Insights events are currently sent to all subscribed users of the organization. This feature is for bundle/app to specify that the event is sent to all administrator users. This was specifically requested by OpenShift and Managed services teams.

      Goals

      This feature expand use cases for the Notifications service. Today, Notifications cannot target specific users of an organization. This is a limitation for event producers like OpenShift or Managed services, who would like to trigger events related to sub-group of users (e.g. organization admins only).

      Requirements

      The current proposal is to add the ability to specify a boolean flag as part of the Kafka message sent to Notifications service. Each sender (e.g. OpenShift, Managed Kafka) can populate the message with the boolean flag to target admin users. Notifications service uses this boolean flag to send notifications to administrators of the organization only.

       

      Requirement                                                                        Notes                                                              isMvp
      Add bolean flag for admins to the Kafka message schema   MVP
      Handle admin flag when sending emails  In the future, other senders will use this list (e.g. Notifications Drawer, Slack to users, etc) MVP 

      Use Cases

      Senders of Insights events will specify that the notifications must go to administrators only as part of their Kafka message sent to platform.notifications.ingress topic.

      If the admin boolean is specified, Notifications service will only handle admin users (not all users of the organization).

      Out of Scope

      The management of admin users is handled by c.r.c RBAC. 

      Background, and strategic fit

      This feature was requested by OpenShift and Managed Services teams, wishing to notify administrator users only. Specifying this admin flag as part of the Kafka message should remain optional.

      Assumptions

      The management of admin users for the organization is handled by c.r.c RBAC. 

      Providing an admin boolean flag as part of a Kafka message is optional.

      Customer Considerations

      N/A

      Documentation Considerations

      This is an internal feature (not customer facing at this stage). 

      Questions

      Question Outcome
      How do we handle 'recipient' for 'Send an email' in the Notification Settings? Currently we set it to 'All registered users'. Shall we provide the ability for Notif. Admin to select 'all admin users, all owner users, etc? or would that only be handle by the bundle/app as part of the Kafka message? Introduce 'Users: All' and 'Users: Admins'
      Shall we extend this feature to supporting RBAC recipients? e.g. What is an admin user (RBAC Administrator role)? Not part of this MVP. 'User Access Group' as recipient is being designed and will be a different epic/task NOTIF-347

       

       

            Unassigned Unassigned
            rhjmarc Jerome Marc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: