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

Feature/251 get available files #291

Merged
merged 9 commits into from
Jan 29, 2024
Merged

Conversation

tomshag
Copy link
Contributor

@tomshag tomshag commented Jan 29, 2024

Creates the Legacy HasAvailableFiles and GetAvailableFiles service.

Description

Added new services:
GetAvailableFiles: functions mostly like the regular GetAvailableFiles, reportee is submitted in OnBehalfOfConsumer rather than in token.
HasAvailableFiles: will not function like the regular HasAvailableFiles. This call will not be made "on behalf of" a consumer, as it is never authenticated or authorized through Altinn. Instead, the call is made with a list of recipients that Altinn will then check for available files and return regardless of access rights. (The final Altinn 2 code only replies with 'true' or 'false'.)

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

I am a bit unsure where this would be updated in docs.

@tomshag tomshag merged commit a53b948 into main Jan 29, 2024
1 check passed
@tomshag tomshag deleted the Feature/251-GetAvailableFiles branch January 29, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants