server icon indicating copy to clipboard operation
server copied to clipboard

fix: remove caching in fetchListOfGroups

Open kesselb opened this issue 1 year ago • 0 comments

  • Resolves: #42195

Summary

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

TODO

  • [ ] CI & Tests
  • [ ] Review

Checklist

kesselb avatar Aug 27 '24 09:08 kesselb