nextcloud/apps/user_ldap/tests
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
..
Integration feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
Jobs chore(user_ldap): Adapt code to LDAP constructor change, remove dead code 2026-03-02 16:34:04 +01:00
Mapping test(user_ldap): speed up AbstractMappingTestCase chunking test 2026-06-01 08:11:29 +00:00
Migration fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
Service fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
Settings fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
User fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
.htaccess fix: remove executable flag from source files 2025-09-04 11:57:44 +02:00
AccessTest.php chore(user_ldap): Adapt code to LDAP constructor change, remove dead code 2026-03-02 16:34:04 +01:00
ConfigurationTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
ConnectionTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
Group_LDAPTest.php refactor(user_ldap): Port most of the remaining deprecated IConfig usage 2025-12-11 13:27:48 +01:00
GroupLDAPPluginTest.php test: Migrate User LDAP to phpunit 10 2025-05-28 10:10:45 +02:00
HelperTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
LDAPGroupPluginDummy.php test: Migrate User LDAP to phpunit 10 2025-05-28 10:10:45 +02:00
LDAPProviderTest.php chore: Add missing return type in tests 2026-02-26 15:22:09 +01:00
LDAPTest.php fix: Use proper DI for LDAP class 2026-02-26 15:21:40 +01:00
LDAPUserPluginDummy.php test: Migrate User LDAP to phpunit 10 2025-05-28 10:10:45 +02:00
User_LDAPTest.php fix(user_ldap): allow editing profile fields not managed by LDAP 2026-06-05 10:22:02 +02:00
User_ProxyTest.php test: Migrate User LDAP to phpunit 10 2025-05-28 10:10:45 +02:00
UserLDAPPluginTest.php test: Migrate User LDAP to phpunit 10 2025-05-28 10:10:45 +02:00
WizardTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00