Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
27 of 28 tasks
Tracked by #176 ...
SandGrainOne opened this issue Aug 7, 2023 · 1 comment
Closed
27 of 28 tasks
Tracked by #176 ...
Labels
Epic kind/feature-request New feature or request

Comments

@SandGrainOne
Copy link
Member

SandGrainOne commented Aug 7, 2023

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:

  • Lookup contact point in Altinn's copy of KRR.
  • Consider reservation in KRR
    • Recipient has no reservations => send notification
    • Recipient has reservation & app owner has bypassed => send notifications
    • Recipient has reservation & app owner has NOT bypassed => return error message to application owner

App owner responsibility:

  • Provide national identity number of recipient
  • State whether sending notification should bypass reservations in KRR

Support notification to organization by organization number without service affiliation

Altinn's responsibility:

  • Lookup organization contact point in Altinn's copy of KoFuVi
    - Lookup user contact point in Altinn Profil (din kontaktinformasjon for virksomhet)

App owner responsibility:

  • Provide organization number of recipient

Requirements

  • Fall back to main unit if sub unit doesn't have contact information
  • Separate endpoints for official and personal contact information on the organization
  • Make it possible to filter contact information based on any resource registered in resource registry.

Questions

Authorization of access to the resource that the notification is about

  • What if different people have read access to different steps in the process?
  • How to handle those cases?
  • Do we need to?
  • What if the policy have completely different actions? (Not read)

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

Altinn's responsibility:

  • Lookup organization contact point in Altinn's copy of KoFuVi
  • Lookup user contact point in Altinn Profil (din kontaktinformasjon for virksomhet)
    • contact point is only retrieved for user's that satisfy the following:
      • User can represent the organization
      • User has registered a personal contact point for the organization in Altinn
      • User has access to the affiliated service through a role, access group or direct delegation
      • User has no limitations on which services it should be notified about OR user has whitelisted notifications related to the affiliated service

App owner responsibility:

  • Provide organization number of recipient
  • Provide resourceId for affiliated service

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.

  • Consider reservation in KRR for each recipient
    • Recipient has no reservations => send notification
    • Recipient has reservation & app owner has bypassed => send notifications
    • Recipient has reservation & app owner has NOT bypassed => return error message to application owner

App owner responsibility:

  • Provide national identity number of recipient
  • Provide appId for affiliated service
  • State whether or not notification should bypass reservations in KRR

Tasks

Preview Give feedback
  1. acn-sbuad
@SandGrainOne SandGrainOne added kind/feature-request New feature or request Epic labels Aug 7, 2023
@SandGrainOne SandGrainOne changed the title Support for lookup of email address and mobile number for igen person or organisation Support for lookup of email address and mobile number for given person or organisation Aug 7, 2023
@acn-sbuad
Copy link
Contributor

All related issues closed. Closing epic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic kind/feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants