-
Notifications
You must be signed in to change notification settings - Fork 61
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
fix(services-auth-admin-api): Fix delegation settings #15968
Conversation
WalkthroughThe changes consist of enhancements to the test suite for the Changes
Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (2)
Files skipped from review as they are similar to previous changes (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15968 +/- ##
=======================================
Coverage 36.86% 36.86%
=======================================
Files 6714 6714
Lines 137605 137611 +6
Branches 39113 39119 +6
=======================================
+ Hits 50723 50732 +9
+ Misses 86882 86879 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Datadog ReportAll test runs ✅ 13 Total Test Services: 0 Failed, 13 Passed Test ServicesThis report shows up to 10 services
🔻 Code Coverage Decreases vs Default Branch (1)
|
* Fix admin api scope added delegation type update to only update requested type. * chore: nx format:write update dirty files --------- Co-authored-by: andes-it <[email protected]>
* Fix admin api scope added delegation type update to only update requested type. * chore: nx format:write update dirty files --------- Co-authored-by: andes-it <[email protected]>
…#16000) * fix(services-auth-admin-api): Fix delegation settings (#15968) * Fix admin api scope added delegation type update to only update requested type. * chore: nx format:write update dirty files --------- Co-authored-by: andes-it <[email protected]> * fix(user-profile): Check if nationalId+deviceToken pair exists and only create if not. (#15990) * Use upsert instead of create to stop unique constraint errors * Upsert is not converting properties to propper db column names with underscore. So moving to a simple findOne and create if not found. * Fix addDeviceToken test --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --------- Co-authored-by: andes-it <[email protected]> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
What
When adding delegation type to scope it resetted all missing types to false.
Why
To fix the bug caused by this reverting delegation types not in the array to false.
Screenshots / Gifs
N/A
Checklist:
Summary by CodeRabbit