server icon indicating copy to clipboard operation
server copied to clipboard

Add search function to account management

Open pringelmann opened this issue 8 months ago • 1 comments

Summary

Part of #53862 - see https://github.com/nextcloud/server/issues/53862#issuecomment-4206460176

Right now user and group search in account management are completely independent. User search goes through the global unified search bar, group search is a separate sidebar input doing client-side name filtering. They don't know about each other.

Goal

One search field in the account management sidebar that filters users and groups at the same time.

MVP

Unify both search mechanisms into one input that filters users and groups by name. No backend work: both APIs already support ?search=.

Nice to have (follow-up)

Also match groups by member name: searching "alice" surfaces groups containing alice. Requires a new ISearchByMemberBackend, a joined query (inverse of searchInGroup()), and an optional searchMembers param on /cloud/groups/details. Backends that can't support it (LDAP etc.) fall back to name-only. Pagination needs dedupe between name and member matches; group admin visibility still applies. Keep performance in mind for larger user bases.

pringelmann avatar Mar 23 '26 20:03 pringelmann

This issue has been automatically locked because it has been closed for more than 14 days. As we do not monitor closed issues, we are locking this issue to prevent further comments from getting lost in the noise. Please open a new issue if you have a similar problem instead. For general discussions, please use our forum: https://help.nextcloud.com

github-actions[bot] avatar Nov 09 '26 00:11 github-actions[bot]