The newly introduced user status synchronization is enabled by default, and has resulted in a lot of customer complaints due to users reactivating by themselves.
As it seems to be an edge case to activate/deactivate users based on presence in the LDAP, we should make this functionality opt-in.
https://community.openproject.org/wp/43561
@ -141,14 +141,14 @@ Duplicates in the unique attributes (login, email) are not allowed and a second
By default, OpenProject will synchronize user account details (name, e-mail, login) and their account status from the LDAP through a background worker job every 24 hours.
The user will be ensured to be active if it can be found in LDAP. Likewise, if the user cannot be found in the LDAP, its associated OpenProject account will be locked.
### **Enabling status synchronization**
### **Disabling status synchronization**
If you wish to synchronize the account status from the LDAP, you can enable status synchronization using the following configuration:
If you wish to synchronize account data from the LDAP, but not synchronize the status to the associated OpenProject account, you can do so with the following configuration variable:
- `ldap_users_sync_status: true`
- (or the ENV variable `OPENPROJECT_LDAP__USERS__SYNC__STATUS=true`)
- `ldap_users_sync_status: false`
- (or the ENV variable `OPENPROJECT_LDAP__USERS__SYNC__STATUS=false`)
The user will be ensured to be active if it can be found in LDAP. Likewise, if the user cannot be found in the LDAP, its associated OpenProject account will be locked.