Add credential details to AdminEvent in UserResource.removeCredential (#48338)#48339
Conversation
ahus1
left a comment
There was a problem hiding this comment.
Thank you for the PR.
I think the changes to the code are good, still the test failures here are related to your changes.
In your test, you're deleting a credential from a shared user that other tests depend on. Please update the test to create a user on-the-fly within your test.
29cfa31 to
bfe20d0
Compare
|
Thanks @ahus1 just rebased and updated the test to use a dedicated test user. |
bfe20d0 to
8d861ea
Compare
|
@thomasdarimont - unforatunately there are now compilation failures due to upstream changes. Please rebase your PR, and check that it compiles. |
…48338) - Add credentialId, credentialType, credentialUserLabel to the AdminEvent details - Add testDeleteOtpCredentialEmitsAdminEventWithCredentialDetails test Fixes keycloak#48338 Signed-off-by: Thomas Darimont <[email protected]>
8d861ea to
02f5a8f
Compare
|
I rebased on current main and fixed the failing test. |
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.authz.PolicyEvaluationTest# |
Fixes #48338