Altinn / altinn-notifications

Altinn platform microservice for handling notifications (mail, sms, etc)
MIT License
2 stars 3 forks source link

Support for lookup of email address and mobile number for given person or organisation #203

Closed SandGrainOne closed 3 months ago

SandGrainOne commented 1 year ago

Description

The Notification component should be able to identify an email address and/or mobile number when the intended recipient of a notification is a person or organization.

  1. The profile lookup should occur at the time when the notification is to be sent.
  2. There should also be a lookup with the placement of the order in order to give feedback about the likely outcome.
  3. It should be unnecessary to do a lookup if the notification already have a target with an address.
  4. The lookup is done only if the Notification.PartyReference is filled in with an (SSN - National Identity Number) or organization number.

Other issues will cover lookup based on other values and properties like InstanceId.

Workflows

The work is split into workflows. Completing a single workflow should add new value or introduce a new feature in Altinn Notifications. The workflows are placed in the order of development and functionality that is reused by a later workflow only needs to be specified once by the workflow that first implements the functionality.

Send notification to person identified with national identity number

Altinn's responsibility:

App owner responsibility:

### Tasks
- [ ] https://github.com/Altinn/altinn-notifications/issues/436
- [ ] https://github.com/Altinn/altinn-profile/issues/132
- [ ] https://github.com/Altinn/altinn-profile/issues/136
- [ ] https://github.com/Altinn/altinn-notifications/issues/446
- [ ] https://github.com/Altinn/altinn-notifications/issues/437
- [ ] https://github.com/Altinn/altinn-notifications/issues/439
- [ ] https://github.com/Altinn/altinn-notifications/issues/441
- [ ] https://github.com/Altinn/altinn-notifications/issues/496
- [ ] https://github.com/Altinn/altinn-studio-docs/pull/1546

Support notification to organization by organization number without service affiliation

Altinn's responsibility:

App owner responsibility:

Requirements

Questions

Authorization of access to the resource that the notification is about

### Tasks
- [ ] https://github.com/Altinn/altinn-notifications/issues/442
- [ ] https://github.com/Altinn/altinn-notifications/issues/455
- [x] Dependency on issue #436
- [x] Dependency on issue #446
- [ ] https://github.com/Altinn/altinn-notifications/issues/450
- [ ] https://github.com/Altinn/altinn-notifications/issues/456
- [ ] https://github.com/Altinn/altinn-notifications/issues/507
- [ ] https://github.com/Altinn/altinn-notifications/issues/511
- [ ] Add functionality to localtest https://github.com/Altinn/altinn-notifications/issues/496

Workflow: Support notification to organization by organization number with service affiliation

Altinn's responsibility:

App owner responsibility:

### Tasks
- [ ] https://github.com/Altinn/altinn-notifications/issues/470
- [ ] https://github.com/Altinn/altinn-notifications/issues/449
- [ ] https://github.com/Altinn/altinn-notifications/issues/504
- [ ] #451
- [ ] #472
- [ ] https://github.com/Altinn/altinn-notifications/issues/508
- [ ] https://github.com/Altinn/altinn-notifications/issues/510
- [ ] https://github.com/Altinn/altinn-notifications/issues/512
- [x] Do we send notifications to the official contact address if there is a service affiliation with role requirements? YES

Workflow: Support notification to person identified by national identity number with service affiliation

Altinn's responsibility: Altinn will generate notifications to a person ragardless of resource affiliation. There are currently no feature in Altinn to send notifications to somone else when the recipient of a notification is a person.

App owner responsibility:

### Tasks
- [ ] https://github.com/Altinn/altinn-notifications/issues/524
acn-sbuad commented 3 months ago

All related issues closed. Closing epic.