Altinn / altinn-notifications

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

Add access based recipient filtering of persons with personal contact information associated with an organsation #472

Closed SandGrainOne closed 2 months ago

SandGrainOne commented 5 months ago

Description

Create a service responsible for authorization. Add logic to check that the person to receive the notification are allowed to represent the organization in the context of the given resource. If no resource or app has been given as context of the notification, then personal contact information should not be considered. All authorization requires a resource.

Perform a normal authorization request similar to the requests created by Storage when a user wants to access a resource.

Tasks

Acceptance criteria

acn-sbuad commented 2 months ago

Satisfied the authorization logic works as expected after testing in AT and locally.