Skip to content

[stable31] fix: remove caching in fetchListOfGroups - #51111

Merged
provokateurin merged 2 commits into
stable31from
backport/47513/stable31
Mar 3, 2025
Merged

[stable31] fix: remove caching in fetchListOfGroups#51111
provokateurin merged 2 commits into
stable31from
backport/47513/stable31

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #47513

kesselband others added 2 commits February 27, 2025 15:35
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: #42195
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@provokateurin
provokateurin merged commit b46f010 into stable31Mar 3, 2025
@provokateurin
provokateurin deleted the backport/47513/stable31 branch March 3, 2025 09:37
@blizzzblizzz mentioned this pull request Mar 4, 2025
3 tasks
@blizzzblizzz mentioned this pull request Mar 12, 2025
14 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@kesselb@provokateurin@come-nc