Skip to content

[stable32] perf: Replace more calls from getUserGroups to getUserGroupIds#62467

Open
backportbot[bot] wants to merge 5 commits into
stable32from
backport/61904/stable32
Open

[stable32] perf: Replace more calls from getUserGroups to getUserGroupIds#62467
backportbot[bot] wants to merge 5 commits into
stable32from
backport/61904/stable32

Conversation

@backportbot

@backportbot backportbot Bot commented Jul 23, 2026

Copy link
Copy Markdown

Backport of #61904

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

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.

@kesselb

kesselb commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Review and verify the backported changes

show the groups display name for non-loaded groups works as expected.

@CarlSchwan could you please check the performance tweaks?

@kesselb
kesselb force-pushed the backport/61904/stable32 branch from f8f920b to 11d4557 Compare July 23, 2026 21:57
@kesselb
kesselb marked this pull request as ready for review July 23, 2026 21:57
@kesselb
kesselb requested review from a team as code owners July 23, 2026 21:57
@kesselb
kesselb requested review from Altahrim, kristian-zendato, nfebe, salmart-dev and susnux and removed request for a team July 23, 2026 21:57
kesselb and others added 5 commits July 24, 2026 01:31
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>
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
kesselb force-pushed the backport/61904/stable32 branch from 11d4557 to 4fc83e7 Compare July 23, 2026 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants