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

10417 remove get current user #5181

Merged
merged 530 commits into from
Aug 28, 2024

Conversation

zachrog
Copy link
Contributor

@zachrog zachrog commented Jul 23, 2024

In this PR

  • Removal of .getCurrentUser() off of applicationContext. The current user is passed into all functions.
  • Creation of a new AuthUser entity.

Manual Deploy Steps

  • Run account specific (Added permission to ci/cd to allow cognito add custom attributes)
  • Run script to give petitioner role to all cognito users without role(We expect this to take ~2hrs)
    • Run environment switcher
    • npx ts-node --transpile-only scripts/run-once-scripts/add-petioner-role-to-roleless-user.ts
      • ustc-dev
      • ustc-exp1
      • ustc-irs
      • ustc-stg
      • ustc-test
  • Deploy as normal
  • Manually add all required attributes to all users in the IRS user pool. (custom:userId, email, name, custom:role)
    • ustc-dev
    • ustc-exp1
    • ustc-irs
    • ustc-stg
    • ustc-test

En-8 and others added 30 commits July 17, 2024 15:38
@zachrog zachrog marked this pull request as ready for review August 20, 2024 16:17
@jimlerza jimlerza self-requested a review August 23, 2024 12:41
@jimlerza jimlerza merged commit 9bdc64d into ustaxcourt:staging Aug 28, 2024
43 of 44 checks passed
@jimlerza jimlerza deleted the 10417-remove-get-current-user branch August 28, 2024 19:51
@jtdevos jtdevos mentioned this pull request Sep 5, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants