[Bug]: Bad sharing setting caption: Allow username autocompletion to users within the same groups
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- Nextcloud Server is running on 64bit capable CPU, PHP and OS.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Nextcloud 25.0.6
User icon -> Administration settings -> Administration/Sharing
- Allow username autocompletion in share dialogue: Checked
- Allow username autocompletion to users within the same groups: Checked
This makes users to not find some groups when trying to share a folder to. Not being member of anyone, yes it finds some groups and doesn't find some other . Although the user administers those groups.
The only workaround is to leave second option unchecked.
There are two possibilities:
- The option description is bad written
- There is a bug on user/groups search box behavior.
Steps to reproduce
- Configure site sharing options as described
- Create multiple groups with diverse members in them
- From another user account, try to share a folder to each group
Expected behavior
User/groups search box should allow to select any account within same groups + any group within + any group this user administers.
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
25
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "25.0.6.1",
"overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"htaccess.RewriteBase": "\/",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"auth.webauthn.enabled": false,
"default_language": "es",
"default_locale": "es_ES",
"logtimezone": "Europe\/Madrid",
"default_phone_region": "ES",
"app_install_overwrite": [
"files_ebookreader",
"ocr",
"dropit",
"files_3d",
"video_converter"
],
"maintenance": false,
"theme": "",
"loglevel": 0,
"simpleSignUpLink.shown": false,
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
List of activated Apps
Enabled:
- activity: 2.17.0
- breezedark: 25.0.2
- bruteforcesettings: 2.5.0
- calendar: 4.3.3
- circles: 25.0.0
- cloud_federation_api: 1.8.0
- comments: 1.15.0
- contacts: 5.2.0
- data_request: 1.12.0
- dav: 1.24.0
- external: 5.0.2
- federatedfilesharing: 1.15.0
- federation: 1.15.0
- files: 1.20.1
- files_external: 1.17.0
- files_mindmap: 0.0.27
- files_rightclick: 1.4.0
- files_sharing: 1.17.0
- files_trashbin: 1.15.0
- files_versions: 1.18.0
- firstrunwizard: 2.14.0
- groupfolders: 13.1.2
- groupquota: 0.1.10
- logreader: 2.10.0
- lookup_server_connector: 1.13.0
- metadata: 0.18.0
- notifications: 2.13.1
- oauth2: 1.13.0
- ocr: 6.0.58
- password_policy: 1.15.0
- previewgenerator: 5.2.4
- privacy: 1.9.0
- provisioning_api: 1.15.0
- quota_warning: 1.16.0
- recommendations: 1.4.0
- related_resources: 1.0.4
- serverinfo: 1.15.0
- settings: 1.7.0
- sharebymail: 1.15.0
- support: 1.8.0
- systemtags: 1.15.0
- terms_of_service: 2.1.0
- text: 3.6.0
- theming: 2.0.1
- theming_customcss: 1.13.0
- twofactor_backupcodes: 1.14.0
- updatenotification: 1.15.0
- user_external: 3.1.0
- user_status: 1.5.0
- video_converter: 1.0.5
- viewer: 1.9.0
- weather_status: 1.5.0
- workflowengine: 2.7.0
Disabled:
- admin_audit
- audioplayer: 3.3.1
- contactsinteraction: 1.4.0
- dashboard: 7.0.0
- deck: 1.8.3
- encryption
- extract: 1.3.5
- files_pdfviewer: 2.3.1
- gpgmailer: 0.0.4
- impersonate: 1.12.0
- mail: 2.2.6
- nextcloud_announcements: 1.9.0
- photos: 1.2.0
- registration: 2.1.0
- richdocuments: 7.1.3
- richdocumentscode: 22.5.1301
- sharepermissions: 1.0.1
- sharingpath: 0.4.4
- socialsharing_diaspora: 2.5.0
- socialsharing_email: 2.5.0
- spreed: 15.0.5
- survey_client: 1.8.0
- suspicious_login
- tasks: 0.14.5
- twofactor_totp
- user_ldap
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
No response
Additional info
No response
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 by reproducing the behavior from Administration/Sharing with several groups and users, then trace the user/groups search box flow described in the report. Compare the caption with the expected visibility for accounts, same-group users, groups, and groups administered by the user. Done means the behavior matches the clarified option description or the search results include the expected accounts and groups, with regression coverage if the relevant tests are found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authorization, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100