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

[MODDATAIMP-953] [Orchid] Pass user information directly into Kafka #312

Merged
merged 4 commits into from
Oct 30, 2023

Conversation

ncovercash
Copy link
Member

@ncovercash ncovercash commented Oct 27, 2023

Orchid version of #311

Purpose

Operations involving acquisition units and invoices require information about the original user to determine if they are permitted to perform actions and are members of acquisition units.

Approach

Instead of using the system user, we store and pass the originating user's tokens, permissions, and user ID to Kafka/SRM when processing jobs.

Since this was the only time we needed to use the system user, the system user is also removed.

@ncovercash ncovercash changed the base branch from master to release/2023_R1_v2.7.0_Orchid October 27, 2023 20:08
@sonarcloud
Copy link

sonarcloud bot commented Oct 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

warning The version of Java (11.0.20.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@ncovercash ncovercash merged commit b6443c9 into release/2023_R1_v2.7.0_Orchid Oct 30, 2023
4 checks passed
@ncovercash ncovercash deleted the moddataimp-953-orchid branch October 30, 2023 13:15
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.

3 participants