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

N21-1887 Rollback user from a user login migration #4978

Merged
merged 8 commits into from
May 3, 2024

Conversation

MarvinOehlerkingCap
Copy link
Contributor

@MarvinOehlerkingCap MarvinOehlerkingCap commented May 2, 2024

Description

Links to Tickets or other pull requests

Changes

Datasecurity

Deployment

New Repos, NPM pakages or vendor scripts

Approval for review

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

throw new UserLoginMigrationNotFoundLoggableException(user.schoolId);
}

if (!user.lastLoginSystemChange) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should create a function at the user object which wraps the prop.
Something like isUserMigrated().. to have more "logic" at the domain object

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, but the UserDO is not one of the new DOs and would have to be refactored in order to work with functions. This should be a separate refactoring, since it can break in a lot of places.

Copy link

sonarqubecloud bot commented May 3, 2024

@MarvinOehlerkingCap MarvinOehlerkingCap merged commit 0d8815a into main May 3, 2024
55 of 56 checks passed
@MarvinOehlerkingCap MarvinOehlerkingCap deleted the N21-1887-rollback-user branch May 3, 2024 09:39
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