nextcloud-server/apps/user_ldap/lib
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 +07:00
..
AppInfo fix(user_ldap): Remove now unused class FilesystemHelper 2025-01-13 17:12:19 +07:00
Command chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +07:00
Controller fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +07:00
DataCollector chore: Add SPDX header 2024-05-30 15:49:33 +07:00
Db chore: Add SPDX header 2024-05-30 15:49:33 +07:00
Events refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Exceptions feat(user_ldap): Improve error detail when saving an incorrect configuration 2025-02-25 22:18:18 +07:00
Handler chore: Add SPDX header 2024-05-30 15:49:33 +07:00
Jobs chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +07:00
Mapping refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Migration refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Notification refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
PagedResults chore: Add SPDX header 2024-05-30 15:49:33 +07:00
Service refactor: Replace __CLASS__ with ::class references 2024-09-15 21:40:55 +07:00
Settings chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +07:00
SetupChecks chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +07:00
User chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +07:00
Access.php fix: remove caching in fetchListOfGroups 2025-02-27 12:02:44 +07:00
AccessFactory.php feat(user_ldap): Introduce user id assigned typed events for LDAP usage 2024-09-10 14:06:11 +07:00
BackendUtility.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Configuration.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +07:00
Connection.php fix(user_ldap): Check that all user and group bases are in the global one 2025-02-25 22:18:18 +07:00
ConnectionFactory.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
GroupPluginManager.php chore(apps): Apply new rector configuration to autouse classes 2024-10-15 10:40:25 +07:00
Group_LDAP.php fix(user_ldap): Do not map groups we do not know if they match filter 2025-01-27 14:51:51 +07:00
Group_Proxy.php fix(user_ldap): Remove redundant if check 2025-01-30 13:47:09 +07:00
Helper.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +07:00
IGroupLDAP.php chore: Add SPDX header 2024-05-30 15:49:33 +07:00
ILDAPGroupPlugin.php chore: Add SPDX header 2024-05-30 15:49:33 +07:00
ILDAPUserPlugin.php chore: Use more gender neutral language 2024-10-14 13:59:24 +07:00
ILDAPWrapper.php chore: Add SPDX header 2024-05-30 15:49:33 +07:00
IUserLDAP.php chore: Add SPDX header 2024-05-30 15:49:33 +07:00
LDAP.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +07:00
LDAPProvider.php fix(psalm): Fix some newly detected issues 2024-10-21 12:37:59 +07:00
LDAPProviderFactory.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
LDAPUtility.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
LoginListener.php refactor: Replace __CLASS__ with ::class references 2024-09-15 21:40:55 +07:00
Proxy.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +07:00
UserPluginManager.php chore(apps): Apply new rector configuration to autouse classes 2024-10-15 10:40:25 +07:00
User_LDAP.php Merge pull request #50162 from nextcloud/fix/improve-ldap-avatar-handling 2025-01-16 21:43:29 +07:00
User_Proxy.php feat(user_ldap): upstream common code into Proxy class and add public getters for backends 2025-01-30 11:49:58 +07:00
Wizard.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +07:00
WizardResult.php chore: Add SPDX header 2024-05-30 15:49:33 +07:00