Skip to content

perf: Don't fetch full group object in AuthorizedGroupMapper - #61838

Merged
AndyScherzinger merged 1 commit into
masterfrom
carl/perf/groupmapper
Jul 6, 2026
Merged

perf: Don't fetch full group object in AuthorizedGroupMapper#61838
AndyScherzinger merged 1 commit into
masterfrom
carl/perf/groupmapper

Conversation

@CarlSchwan

Copy link
Copy Markdown
Member

Summary

This is very expensive when multiple group backends are enabled as we don't cache which groups is included in which backend unlike in the User Manager.

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@CarlSchwan
CarlSchwan requested a review from a team as a code ownerJuly 6, 2026 08:53
@CarlSchwan
CarlSchwan requested review from ArtificialOwl, come-nc, leftybournes and provokateurin and removed request for a teamJuly 6, 2026 08:53

@come-nccome-nc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This screams that we should have a LazyGroup feature like LazyUser.

This is very expensive when multiple group backends are enabled as we
don't cache which groups is included in which backend unlike in the User
Manager.
Signed-off-by: Carl Schwan <carlschwan@kde.org>
@CarlSchwan
CarlSchwanforce-pushed the carl/perf/groupmapper branch from affb400 to 636aaf7CompareJuly 6, 2026 11:20
@CarlSchwan

Copy link
Copy Markdown
MemberAuthor

/backport to stable34

@CarlSchwan

Copy link
Copy Markdown
MemberAuthor

/backport to stable33

@CarlSchwan

Copy link
Copy Markdown
MemberAuthor

/backport to stable32

@CarlSchwanCarlSchwan added this to the Nextcloud 35 milestone Jul 6, 2026
@AndyScherzinger
AndyScherzinger merged commit a3c4a5a into masterJul 6, 2026
209 of 231 checks passed
@AndyScherzinger
AndyScherzinger deleted the carl/perf/groupmapper branch July 6, 2026 14:58
@nextcloud-botnextcloud-bot mentioned this pull request Aug 11, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsperformance 🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@CarlSchwan@Altahrim@provokateurin@come-nc@AndyScherzinger