nextcloud/apps/user_ldap/lib
Anna Larch bbf05d3b8f 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-04 12:07:10 +02:00
..
AppInfo chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Command chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Controller chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02: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 chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Exceptions chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Handler chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Jobs chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Mapping perf(user_ldap): chunk oracle queries for lower bind cost 2026-06-04 10:33:42 +02:00
Migration chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Notification chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
PagedResults chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Service chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Settings chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
SetupChecks chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
User chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Access.php fix: Use a CappedMemoryCache instead of an array to cache stuff in user_ldap 2026-06-02 09:46:18 +02:00
AccessFactory.php fix(user_ldap): Move accesses to AccessFactory instead of static var 2026-06-02 09:46:19 +02:00
BackendUtility.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Configuration.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Connection.php chore(user_ldap): Move static var to static property and silence warning 2026-06-02 09:46:19 +02:00
ConnectionFactory.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Group_LDAP.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Group_Proxy.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
GroupPluginManager.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Helper.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
IGroupLDAP.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
ILDAPGroupPlugin.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
ILDAPUserPlugin.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
ILDAPWrapper.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
IUserLDAP.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
LDAP.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +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 chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
LoginListener.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Proxy.php fix(user_ldap): Move accesses to AccessFactory instead of static var 2026-06-02 09:46:19 +02:00
User_LDAP.php fix(user_ldap): allow editing profile fields not managed by LDAP 2026-06-04 12:07:10 +02:00
User_Proxy.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
UserPluginManager.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +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: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00