Skip to content

[stable30] fix: remove caching in fetchListOfGroups - #51110

Closed
backportbot[bot] wants to merge 2 commits into
stable30from
backport/47513/stable30
Closed

[stable30] fix: remove caching in fetchListOfGroups#51110
backportbot[bot] wants to merge 2 commits into
stable30from
backport/47513/stable30

Conversation

@backportbot

@backportbotbackportbotBot commented Feb 27, 2025

Copy link
Copy Markdown

Backport of #47513

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

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>
[skip ci]
@backportbotbackportbotBot added bug 3. to review Waiting for reviews labels Feb 27, 2025
@backportbotbackportbotBot added this to the Nextcloud 30.0.7 milestone Feb 27, 2025
@kesselbkesselb closed this Apr 11, 2025
@kesselb
kesselb deleted the backport/47513/stable30 branch April 11, 2025 12:50
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.

4 participants

@blizzz@kesselb@solracsf@come-nc