Uploaded image for project: 'UY'
  1. UY
  2. UY-646

Make channel selection part of message template

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: v2.5.0
    • Labels:
      None
    • Story Points:
      7

      Description

      This will allow to simplify (and make way more flexible and useful) configuration of notifications. For instance notifications for registrations will have one parameter less, but it will be possible to use different channels for admin's notification and other for user's. Also is a base for enabling proper co-existence of SMS and email confirmations.

      Detailed work plan:

      1. ConfirmationTemplateDefinition -> rename to EmailConfirmationTemplateDefinition
      2. Add Set<String> getCompatibleFacilities() method to ConfirmationTemplateDefinition contract. All existing implementations should return sms and email. Exception would be the EmailConfirmationTemplateDefinition and MobileConfirmationTempalteDefinition to be defined soon.
      3. MessageTemplate gets new parameter: notification channel. Notification channel selection must be only from those supported by template's definition.
      4. Perform corresponding changes in resolving channel from template in the code using this. Will be inĀ four cases:
        1. registration forms and enquiries
        2. password reset
        3. email confirmation (attribute & identity)
        4. invitations
      5. Remove (should be not used at this point) channel selection from enquiry, invitaition and registration forms.

        Attachments

          Activity

            People

            • Assignee:
              piotrpiernik Piotr Piernik
              Reporter:
              golbi Krzysztof Benedyczak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: