Skip to content

LdapSyncCommand: disable users missing in LDAP Active DN#1221

Merged
glensc merged 5 commits intoeventum:masterfrom
vladsf:disable-missed-users
Oct 3, 2021
Merged

LdapSyncCommand: disable users missing in LDAP Active DN#1221
glensc merged 5 commits intoeventum:masterfrom
vladsf:disable-missed-users

Conversation

@vladsf
Copy link
Copy Markdown
Contributor

@vladsf vladsf commented Sep 28, 2021

LdapSyncCommand lacks an option to search and disable Eventum users which are not found in LDAP Active DN. Current code expects to find inactive users in Inactive DN.

This patch proposes --disable-missed option to check active Eventum users against LDAP. Users which are not found in Active DN to be set inactive.

@glensc
Copy link
Copy Markdown
Member

glensc commented Sep 28, 2021

please avoid those click-bait titles, unable to understand what the changeset is just by looking the title. so one must click on the diffs to get even a grasp of the proposed changes

@vladsf vladsf changed the title Add --disable-missed option LdapSyncCommand: disble users missed from LDAP Active DN Sep 28, 2021
@vladsf vladsf changed the title LdapSyncCommand: disble users missed from LDAP Active DN LdapSyncCommand: disable users missed from LDAP Active DN Sep 28, 2021
@vladsf vladsf marked this pull request as ready for review September 29, 2021 11:08
@vladsf vladsf mentioned this pull request Sep 30, 2021
@vladsf
Copy link
Copy Markdown
Contributor Author

vladsf commented Sep 30, 2021

@glensc Shall I expect this PR to be accepted?

@glensc
Copy link
Copy Markdown
Member

glensc commented Sep 30, 2021

@vladsf there's no email notification once you mark PR ready for review, so you need to ask implicitly once it's ready, or just wait

@glensc
Copy link
Copy Markdown
Member

glensc commented Sep 30, 2021

I don't understand the PR title nor changelog entry what this PR does. please improve. what is users missed or missed users?

@vladsf vladsf changed the title LdapSyncCommand: disable users missed from LDAP Active DN LdapSyncCommand: disable users not found LDAP Active DN Sep 30, 2021
@vladsf vladsf changed the title LdapSyncCommand: disable users not found LDAP Active DN LdapSyncCommand: disable users not found in LDAP Active DN Sep 30, 2021
Comment thread src/Console/Command/LdapSyncCommand.php Outdated
Comment thread src/Console/Command/LdapSyncCommand.php Outdated
@vladsf vladsf changed the title LdapSyncCommand: disable users not found in LDAP Active DN LdapSyncCommand: disable users missing in LDAP Active DN Oct 1, 2021
@glensc glensc merged commit 25d0156 into eventum:master Oct 3, 2021
@glensc glensc added this to the 3.10.7 milestone Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants