nextcloud / nextcloud/groupfolders
Advanced permissions UI: users with numeric IDs are not searchable
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 343
- Forks
- 106
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 34
Description
Bug description
In the "Advanced permissions for Team folder" UI, searching for users with numeric user IDs (e.g. 100011011, 100000898) returns no results, even when those users are members of the group assigned to the Team folder.
Searching by display name (e.g. Japanese name like "Shimizu / 清水") also returns no results for these users.
Users with string-based IDs (e.g. sato_user) are searchable normally.
Steps to reproduce
- Have users with numeric IDs (e.g. imported from external directory) as members of a group assigned to a Team folder
- Open a subfolder inside the Team folder
- Open the sharing sidebar → "Advanced permissions for Team folder"
- Type a partial numeric ID (e.g.
10) or the user's display name in the search box - Observe: "No results" is shown
Expected behavior
Users should be searchable by either:
- Their user ID (including numeric IDs with partial match)
- Their display name
Actual behavior
- Numeric IDs: not found even with partial match (e.g.
10does not match100000898) - Non-ASCII display names (e.g. Japanese): not found at all
- String IDs (e.g.
sato_user): found correctly via prefix match
Workaround
- Opening the dropdown without typing shows a scrollable list of all users
- Using
occ groupfolders:permissionscommand works correctly
Environment
- Nextcloud version: 33.0.2
- Group Folders app version: (please check)
- User backend: local users with numeric IDs
- Browser: Chrome (latest)
- Server OS: Ubuntu 24.04 LTS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Advanced permissions for Team folder sharing sidebar described in the reproduction steps, and reproduce searches for a partial numeric ID, a Japanese display name, and a string ID. Trace the UI search entry point and its user-list response, then verify that the expected users appear while the existing string-ID behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100