nextcloud/apps/user_ldap/tests
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
..
Integration 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
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
User chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
.htaccess fix: remove executable flag from source files 2025-09-04 11:57:44 +02:00
AccessTest.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
ConfigurationTest.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
ConnectionTest.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Group_LDAPTest.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
GroupLDAPPluginTest.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
HelperTest.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
LDAPGroupPluginDummy.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
LDAPProviderTest.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
LDAPTest.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
LDAPUserPluginDummy.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
User_LDAPTest.php fix(user_ldap): allow editing profile fields not managed by LDAP 2026-06-04 12:07:10 +02:00
User_ProxyTest.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
UserLDAPPluginTest.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
WizardTest.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00