Skip to content

perf: Replace more calls from getUserGroups to getUserGroupIds#61904

Merged
CarlSchwan merged 3 commits into
masterfrom
carl/groups-optimization
Jul 16, 2026
Merged

perf: Replace more calls from getUserGroups to getUserGroupIds#61904
CarlSchwan merged 3 commits into
masterfrom
carl/groups-optimization

Conversation

@CarlSchwan

Copy link
Copy Markdown
Member

Summary

Faster as we only need the gid and not the full group objects

TODO

  • ...

Checklist

AI (if applicable)

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

@CarlSchwan CarlSchwan added this to the Nextcloud 35 milestone Jul 8, 2026
@CarlSchwan CarlSchwan self-assigned this Jul 8, 2026
@CarlSchwan
CarlSchwan requested a review from a team as a code owner July 8, 2026 08:31
@CarlSchwan CarlSchwan added the 3. to review Waiting for reviews label Jul 8, 2026
@CarlSchwan
CarlSchwan requested review from Altahrim, ArtificialOwl, leftybournes and salmart-dev and removed request for a team July 8, 2026 08:31
@CarlSchwan
CarlSchwan force-pushed the carl/groups-optimization branch 2 times, most recently from 7b3fa5b to 986ce7e Compare July 10, 2026 08:40
Faster as we only need the gid and not the full group objects

Signed-off-by: Carl Schwan <carlschwan@kde.org>
@CarlSchwan
CarlSchwan force-pushed the carl/groups-optimization branch from 986ce7e to 8dd4c83 Compare July 10, 2026 09:45
Comment thread apps/provisioning_api/lib/Controller/AUserDataOCSController.php Outdated
@CarlSchwan
CarlSchwan force-pushed the carl/groups-optimization branch from 8dd4c83 to 24676ae Compare July 15, 2026 14:53
Signed-off-by: Carl Schwan <carlschwan@kde.org>
@CarlSchwan
CarlSchwan force-pushed the carl/groups-optimization branch from 24676ae to cc582ab Compare July 15, 2026 14:56
@CarlSchwan
CarlSchwan enabled auto-merge July 15, 2026 14:58
@CarlSchwan

Copy link
Copy Markdown
Member Author

/backport to stable34

@CarlSchwan

Copy link
Copy Markdown
Member Author

/backport to stable33

@kesselb kesselb added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 15, 2026
Comment thread lib/private/Group/DisplayNameCache.php Outdated
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan
CarlSchwan merged commit 4c61d02 into master Jul 16, 2026
269 of 282 checks passed
@CarlSchwan
CarlSchwan deleted the carl/groups-optimization branch July 16, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants