nextcloud/apps/user_ldap/lib
Anna Larch f4cec9ae35 fix(user_ldap): allow editing profile fields not managed by LDAP
canEditProperty() was returning true (editable) when an LDAP attribute
was configured for a field, and false when no attribute was configured.
This is inverted: a field with an LDAP attribute mapping is owned by
LDAP and should not be user-editable, while a field with no mapping is
not sourced from LDAP and the user should be free to set it themselves.

Fixes profile fields being uneditable for all LDAP users whose admin
has not configured attribute mappings for those fields.

Assisted-by: ClaudeCode:claude-sonnet-4-6
Signed-off-by: Anna Larch <anna@nextcloud.com>
2026-06-05 10:22:02 +02:00
..
AppInfo chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
Command feat(user_ldap): Add a limit and offset options for check-user --all-seen-users 2026-04-30 14:44:20 +02:00
Controller fix: Add missing Attribute and fix parameter type in renewpassword route 2026-03-17 16:58:34 +01:00
DataCollector chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
Db chore: Run rector with new rules for fetch 2025-11-18 17:45:57 +01:00
Events refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
Exceptions feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
Handler chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
Jobs chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
Mapping chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
Migration chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
Notification chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
PagedResults chore: Add SPDX header 2024-05-30 15:49:33 +02:00
Service feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
Settings chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
SetupChecks chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
User fix(user_ldap): fix lastLogin reading wrong appid and configkey 2026-04-03 13:06:49 +01:00
Access.php fix: Change the setting name 2026-04-14 10:49:15 +02:00
AccessFactory.php refactor(user_ldap): Port most of the remaining deprecated IConfig usage 2025-12-11 13:27:48 +01:00
BackendUtility.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
Configuration.php fix: Remove static vars usage in user_ldap 2026-03-23 16:48:31 +01:00
Connection.php chore(rector): Run rector on apps, core and tests directory 2026-02-06 13:23:23 +01:00
ConnectionFactory.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Group_LDAP.php chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
Group_Proxy.php chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
GroupPluginManager.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Helper.php fix: Use strict array comparisons in user_ldap 2026-01-13 11:46:57 +01:00
IGroupLDAP.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
ILDAPGroupPlugin.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
ILDAPUserPlugin.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
ILDAPWrapper.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
IUserLDAP.php feat(ldap): Allow to search one user by one of its LDAP attribute 2026-05-11 12:41:00 +02:00
LDAP.php chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
LDAPProvider.php feat(ldap): Allow to search one user by one of its LDAP attribute 2026-05-11 12:41:00 +02:00
LDAPProviderFactory.php chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
LDAPUtility.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
LoginListener.php chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
Proxy.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00
User_LDAP.php fix(user_ldap): allow editing profile fields not managed by LDAP 2026-06-05 10:22:02 +02:00
User_Proxy.php feat(ldap): Allow to search one user by one of its LDAP attribute 2026-05-11 12:41:00 +02:00
UserPluginManager.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Wizard.php fix: Remove static vars from user_ldap 2026-03-23 16:34:01 +01:00
WizardFactory.php feat(user_ldap): Add a wizard OCS API 2025-11-21 14:23:57 +01:00
WizardResult.php chore: Fix typing in WizardResult 2025-11-21 14:23:57 +01:00