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

Fix attribute deleted from LDAP is not immediately reflected even if it is "Always Read Value From LDAP" #15929

Merged
merged 1 commit into from Mar 21, 2023

Conversation

wadahiro
Copy link
Contributor

@wadahiro wadahiro commented Dec 9, 2022

Fixes #15927

Copy link
Contributor

@mhajas mhajas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR @wadahiro! The fix looks correct to me.

However, testing can be improved a little bit in our new model tests. I created an enhanced version of your test here:mhajas@0d4bac2

Could you please remove your test and add the one from the commit above to this PR?

@wadahiro
Copy link
Contributor Author

Could you please remove your test and add the one from the commit above to this PR?

@mhajas Thank you for your review. I fixed my commit and rebased on the latest main branch. Could you check it again?

mhajas
mhajas previously approved these changes Mar 14, 2023
Copy link
Contributor

@mhajas mhajas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @wadahiro, LGTM

@mhajas
Copy link
Contributor

mhajas commented Mar 14, 2023

@wadahiro The PR now has some conflict, could you please rebase?

@wadahiro
Copy link
Contributor Author

@mhajas I rebased it again.

Copy link
Contributor

@mhajas mhajas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @wadahiro

@mhajas mhajas merged commit 46eb2e1 into keycloak:main Mar 21, 2023
54 of 55 checks passed
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.

"Always Read Value From LDAP" for LDAP mapper does not work with NO_CACHE policy
2 participants