Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Security] Ability to add roles inform_login_ldap by ldap group#52181
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/UserProvider/LdapFactory.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
OskarStark commentedOct 20, 2023
Yes it will be for 7.1, but you can already rebase on and target 7.0 if you like |
2a66af5 to840f533CompareUh oh!
There was an error while loading.Please reload this page.
nicolas-grekas left a comment
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.
What would be the typical implementation for a role fetcher? Can we provide one that e.g. reads some conventional entries from theEntry?
src/Symfony/Bundle/SecurityBundle/Tests/Functional/JsonLoginLdapTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
MDeveloping commentedAug 23, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Did I understand this correct, that there will be an easy way, to read the memberOf of a LDAP User if logging in and than set a role? |
form_login_ldap by ldap groupcdd873f to80eb8a3Comparesrc/Symfony/Bundle/SecurityBundle/Tests/Functional/app/JsonLoginLdap/config.yml OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
welcoMattic left a comment
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.
2 minor comments, otherwise it's 👍 for me
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
15aab3b to5e8b1c7CompareThis update allows LDAP to fetch roles for a given user entry by using the new RoleFetcherInterface. The LdapUserProvider class has been adjusted to use this new functionality.
fabpot commentedFeb 10, 2025
Thank you@Spomky. |
4ecc160 intosymfony:7.3Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This PR adds a way for setting roles in
form_login_ldapbased on LDAP configuration.Please note that it is based on SF6.4, but may be changed to 7.1 if already in feature freeze period.=> Rebased for targeting SF 7.1