nextcloud / nextcloud/guests

Can't remove users (guest or not) from re-shared folder

Open
#1,458 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
61
Forks
34
Avg merge
3d 19h
Merged PRs (30d)
22

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Login ad usual
  2. Go into a shared with you folder on wich you are sure you have all right (or just sharing's one)
  3. Inside this folder, share a folder to other user (doesn't matter if it's guest or not)
  4. Try to remove user from share (close the share).
Expected behaviour

User should be removed from share.

Actual behaviour

Error banner shows up on the up-right corner

Server configuration

Web server: Apache

Database: Maria

PHP version: 8.2

Nextcloud version: Nextcloud Hub 10 (31.0.9)

List of activated apps - activity: 4.0.0 - bruteforcesettings: 4.0.0 - calendar: 5.5.6 - camerarawpreviews: 0.8.8 - cloud_federation_api: 1.14.0 - contacts: 7.3.3 - dav: 1.33.0 - federatedfilesharing: 1.21.0 - files: 2.3.1 - files_external: 1.23.0 - files_pdfviewer: 4.0.0 - files_sharing: 1.23.1 - files_trashbin: 1.21.0 - files_versions: 1.24.0 - fileslibreofficeedit: 2.0.1 - geoblocker: 0.5.18 - guests: 4.6.0 - imageconverter: 2.0.5 - impersonate: 2.0.0 - integration_dropbox: 4.0.3 - logreader: 4.0.0 - lookup_server_connector: 1.19.0 - memories: 7.7.0 - notifications: 4.0.0 - oauth2: 1.19.1 - openotp_auth: 1.31.2 - photos: 4.0.0 - previewgenerator: 5.10.0 - profile: 1.0.0 - provisioning_api: 1.21.0 - quota_warning: 1.22.0 - ransomware_protection: 1.14.0 - registration: 2.8.0 - settings: 1.14.0 - suspicious_login: 9.0.1 - text: 5.0.0 - theming: 2.6.1 - twofactor_backupcodes: 1.20.0 - twofactor_email: 2.8.2 - twofactor_nextcloud_notification: 5.0.0 - twofactor_totp: 13.0.0-dev.0 - viewer: 4.0.0 - workflowengine: 2.13.0
Nextcloud configuration

{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"xxxxxxxxxxxxxxxxxxxxxxxxxx",
"xxxxxxxxxxxxxxxxxxxxxxxxxx"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "31.0.9.1",
"overwrite.cli.url": "xxxxxxxxxxxxxxxxxxxxx",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"app_install_overwrite": {
"1": "ransomware_protection",
"2": "files_rightclick"
},
"maintenance": false,
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "465",
"mail_smtpauth": true,
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"mail_smtpsecure": "ssl",
"loglevel": 3,
"defaultapp": "files",
"forbidden_filename_basenames": [
"con",
"prn",
"aux",
"nul",
"com0",
"com1",
"com2",
"com3",
"com4",
"com5",
"com6",
"com7",
"com8",
"com9",
"com\u00b9",
"com\u00b2",
"com\u00b3",
"lpt0",
"lpt1",
"lpt2",
"lpt3",
"lpt4",
"lpt5",
"lpt6",
"lpt7",
"lpt8",
"lpt9",
"lpt\u00b9",
"lpt\u00b2",
"lpt\u00b3"
],
"forbidden_filename_characters": [
"<",
">",
":",
""",
"|",
"?",
"*",
"\",
"/"
],
"forbidden_filename_extensions": [
" ",
".",
".filepart",
".part"
],
"twofactor_enforced": "false",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [
"admin",
"guest_app"
],
"preview_max_x": 2048,
"preview_max_y": 2048,
"jpeg_quality": 60,
"memories.db.triggers.fcu": true,
"memories.exiftool": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"memories.vod.path": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"memories.viewer.high_res_cond_default": "never",
"enabledPreviewProviders": [
"OC\Preview\Image",
"OC\Preview\HEIC",
"OC\Preview\TIFF",
"OC\Preview\Movie"
],
"memories.gis_type": 1,
"memories.vod.ffmpeg": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"memories.vod.ffprobe": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"memories.vod.qf": 25
}
}

Browser

Browser name: Any

Browser version: Any

Operating system: Any

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is identified in the issue. Reproduce the sharing steps with a guest and a regular user, then inspect the guest-user sharing flow; done means removing either user from the re-shared folder succeeds without the error banner.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.