-
Notifications
You must be signed in to change notification settings - Fork 10
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
HL-849 | Fix insufficient user permissions causing handler application to freeze #2158
Conversation
[yjdh-kesaseteli-shared] Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
[yjdh-kesaseteli-handler] Kudos, SonarCloud Quality Gate passed! |
API branch is deployed to platta: https://kesaseteli-pr2158.api.dev.hel.ninja/healthz 🚀🚀🚀 |
[yjdh-kesaseteli-employer] Kudos, SonarCloud Quality Gate passed! |
[yjdh-kesaseteli-api] Kudos, SonarCloud Quality Gate passed! |
YOUTH branch is deployed to platta: https://youth-pr2158.dev.hel.ninja 🚀🚀🚀 |
HANDLER branch is deployed to platta: https://handler-pr2158.dev.hel.ninja 🚀🚀🚀 |
EMPLOYER branch is deployed to platta: https://kesaseteli-pr2158.dev.hel.ninja 🚀🚀🚀 |
Helsinkibenefit-bf-hdlr is deployed to: https://helsinkibenefit-bf-hdlr-2158.test.kuva.hel.ninja 🚀🚀🚀 |
Helsinkibenefit-bf-appl is deployed to: https://helsinkibenefit-bf-appl-2158.test.kuva.hel.ninja 🚀🚀🚀 |
Helsinkibenefit-bf-bknd is deployed to: https://helsinkibenefit-bf-bknd-2158.test.kuva.hel.ninja 🚀🚀🚀 |
[yjdh-kesaseteli-youth] Kudos, SonarCloud Quality Gate passed! |
te-admn is deployed to: https://te-admn-2158.test.kuva.hel.ninja 🚀🚀🚀 |
TestCafe result is success for https://handler-pr2158.dev.hel.ninja 😆🎉🎉🎉 |
te-yout is deployed to: https://te-yout-2158.test.kuva.hel.ninja 🚀🚀🚀 |
ks-empl is deployed to: https://ks-empl-2158.test.kuva.hel.ninja 🚀🚀🚀 |
ks-youth is deployed to: https://ks-youth-2158.test.kuva.hel.ninja 🚀🚀🚀 |
ks-hdlr is deployed to: https://ks-hdlr-2158.test.kuva.hel.ninja 🚀🚀🚀 |
te-bknd is deployed to: https://te-bknd-2158.test.kuva.hel.ninja 🚀🚀🚀 |
ks-bknd is deployed to: https://ks-bknd-2158.test.kuva.hel.ninja 🚀🚀🚀 |
TestCafe result is success for https://kesaseteli-pr2158.dev.hel.ninja 😆🎉🎉🎉 |
TestCafe result is success for https://helsinkibenefit-bf-appl-2158.test.kuva.hel.ninja! 😆🎉🎉🎉 |
TestCafe result is success for https://te-yout-2158.test.kuva.hel.ninja! 😆🎉🎉🎉 |
TestCafe result is success for https://te-admn-2158.test.kuva.hel.ninja! 😆🎉🎉🎉 |
TestCafe result is success for https://ks-handler-2158.test.kuva.hel.ninja! 😆🎉🎉🎉 |
TestCafe result is success for https://ks-empl-2158.test.kuva.hel.ninja! 😆🎉🎉🎉 |
TestCafe result is success for https://youth-pr2158.dev.hel.ninja 😆🎉🎉🎉 |
TestCafe result is success for https://ks-youth-2158.test.kuva.hel.ninja! 😆🎉🎉🎉 |
Codecov Report
@@ Coverage Diff @@
## develop #2158 +/- ##
===========================================
- Coverage 29.98% 29.97% -0.02%
===========================================
Files 816 816
Lines 16786 16793 +7
Branches 3650 3652 +2
===========================================
Hits 5033 5033
- Misses 11137 11143 +6
- Partials 616 617 +1
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Description ✨
Fix issue with wrong user role. If user is logged and has wrong permissions, log the user out.
Testing
NEXT_PUBLIC_MOCK_FLAG=0
(or modify DB foris_staff=false
on currently logged user) and log in as applicant (https://localhost:3000). Then go to https://localhost:3100.