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 owner July 6, 2026 08:53
@CarlSchwan CarlSchwan requested review from ArtificialOwl, come-nc, leftybournes and provokateurin and removed request for a team July 6, 2026 08:53

@come-nc come-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 CarlSchwan force-pushed the carl/perf/groupmapper branch from affb400 to 636aaf7 Compare July 6, 2026 11:20
@CarlSchwan

Copy link
Copy Markdown
Member Author

/backport to stable34

@CarlSchwan

Copy link
Copy Markdown
Member Author

/backport to stable33

@CarlSchwan

Copy link
Copy Markdown
Member Author

/backport to stable32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants