Skip to content

Conversation

@kesselb
Copy link
Contributor

@kesselb kesselb commented Nov 19, 2025

Summary

This PR is conflicting with 🙈

#55871
#56509
#56524

We are fetching the first 25 groups when opening the users list. If a user in that list has a group assigned that was not part of the first 25 groups, then we don't have the displayname.

Until:

  • The user opens the edit mode (then all groups are lazy loaded)
  • The user scrolls in the group view to load the next batch of groups

As fetching the display names might be expensive, we should consider to introduce a GroupDisplayNameCache as we do for users. I can look into that, if we have figured out how to handle the conflicts.

Checklist

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.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb self-assigned this Nov 19, 2025
@kesselb kesselb added bug 3. to review Waiting for reviews labels Nov 19, 2025
@kesselb kesselb added this to the Nextcloud 33 milestone Nov 19, 2025
@kesselb kesselb added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Nov 19, 2025
@kesselb
Copy link
Contributor Author

kesselb commented Nov 19, 2025

cc @artonge @come-nc @susnux @benjaminfrueh for early feedback as you were involved in the other pr's.

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

Labels

2. developing Work in progress bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Display name of group not shown until group object is lazy loaded in user management

2 participants