nextcloud/apps/user_ldap/tests
Daniel Kesselberg 7facae6b83
fix: remove caching in fetchListOfGroups
When using nested groups without a memberof overlay, then fetchListOfGroups is called from getGroupsByMember without applying the group filter.

In some setups, the "unfiltered" result is then written back to the group mapping table. That might cause random "An administrator removed you from group" activities.

I was unable to replicate it locally, but we got the feedback that the random activities stopped with the patch applied.

Ref: https://github.com/nextcloud/server/issues/42195

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-27 12:02:44 +01:00
..
Integration chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00
Jobs refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Mapping chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00
Migration refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
Service chore: Apply rector configuration to apps folder 2024-09-20 17:51:00 +02:00
Settings chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
User chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00
.htaccess chore: Add SPDX header 2024-05-30 15:49:33 +02:00
AccessTest.php fix: remove caching in fetchListOfGroups 2025-02-27 12:02:44 +01:00
ConfigurationTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
ConnectionTest.php chore(apps): Apply new rector configuration to autouse classes 2024-10-15 10:40:25 +02:00
Group_LDAPTest.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00
GroupLDAPPluginTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
HelperTest.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00
LDAPGroupPluginDummy.php chore: Add SPDX header 2024-05-30 15:49:33 +02:00
LDAPProviderTest.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00
LDAPTest.php chore: Apply rector configuration to apps folder 2024-09-20 17:51:00 +02:00
LDAPUserPluginDummy.php chore: Add SPDX header 2024-05-30 15:49:33 +02:00
User_LDAPTest.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00
User_ProxyTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
UserLDAPPluginTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
WizardTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00