Skip to content

[stable33] perf: Replace more calls from getUserGroups to getUserGroupIds - #62222

Merged
AndyScherzinger merged 5 commits into
stable33from
backport/61904/stable33
Jul 27, 2026
Merged

[stable33] perf: Replace more calls from getUserGroups to getUserGroupIds#62222
AndyScherzinger merged 5 commits into
stable33from
backport/61904/stable33

Conversation

@backportbot

@backportbotbackportbotBot commented Jul 16, 2026

Copy link
Copy Markdown

Backport of #61904

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

Difference is because one of the getUserGroups usage wasn't present yet in stable33 so that means one less port

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • 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.

@backportbotbackportbotBot added the 3. to review Waiting for reviews label Jul 16, 2026
@backportbotbackportbotBot added this to the Nextcloud 33.0.7 milestone Jul 16, 2026
@CarlSchwan
CarlSchwanforce-pushed the backport/61904/stable33 branch from e5aa945 to af113e3CompareJuly 16, 2026 05:44
@CarlSchwan
CarlSchwan marked this pull request as ready for review July 16, 2026 05:45
@CarlSchwan
CarlSchwan requested a review from a team as a code ownerJuly 16, 2026 05:45
@CarlSchwan
CarlSchwan requested review from ArtificialOwl and icewind1991 and removed request for a teamJuly 16, 2026 05:45
kesselband others added 3 commits July 27, 2026 12:35
By default only 25 group objects are loaded. If a user is assigend to a
group, that isn't loaded yet, we only show the gid instead of the
displayname.
Assisted-by: Copilot:gpt-5.4
Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Faster as we only need the gid and not the full group objects
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
CarlSchwanand others added 2 commits July 27, 2026 12:35
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb
kesselbforce-pushed the backport/61904/stable33 branch from dfdf945 to 441fdecCompareJuly 27, 2026 10:38
@AndyScherzinger
AndyScherzinger merged commit ed66a2b into stable33Jul 27, 2026
164 of 175 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/61904/stable33 branch July 27, 2026 20:07
@nextcloud-botnextcloud-bot mentioned this pull request Aug 10, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@CarlSchwan@cristianscheid@AndyScherzinger@kesselb