-
Notifications
You must be signed in to change notification settings - Fork 9
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
SIMSBIOHUB-154: System user table updates #1060
Conversation
Openshift URLs for the PR Deployment: |
Codecov Report
@@ Coverage Diff @@
## dev #1060 +/- ##
==========================================
- Coverage 67.57% 67.55% -0.02%
==========================================
Files 403 403
Lines 12509 12570 +61
Branches 2088 2106 +18
==========================================
+ Hits 8453 8492 +39
- Misses 3522 3538 +16
- Partials 534 540 +6
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
245b04b
to
f16e6e7
Compare
* Remove unused `SYSTEM` user identity source type * Update user seed * Update database readme
c087ab4
to
509be55
Compare
Openshift URLs for the PR Deployment: |
database/src/migrations/20230727000000_system_user_enhancement.ts
Outdated
Show resolved
Hide resolved
database/src/migrations/20230727000000_system_user_enhancement.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👤
…ssion join table.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ran this locally and it worked after editing the user name ⚡
* Add keycloak user information zod schemas
Rename some keycloak interfaces
…to SIMSBIOHUB-154
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also noticed an issue under manage users tabs:
- reviewing a request fails
- adding a user fails
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added my alt BCeID Basic account (putting curtisupshalldev
into the Username field), and the account was added as a System Administrator successfully. Then I logged into said account, but I was denied access. I then request access from my curtisupshalldev
account, and approved it as a Data Administrator. So now there are two accounts with the same username - one that I explicitly added, and one that I approved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good; tested adding a user and it locally and works as expected 👑
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕶️
f6459f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧄
Fix code smell.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧯
Links to Jira Tickets
https://apps.nrs.gov.bc.ca/int/jira/browse/SIMSBIOHUB-154?
Description of Changes
SYSTEM
user identity source type (API/APP)Testing Notes