Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guests have no access to shared folders in NC28 #1106

Open
Karl-MCS opened this issue Jan 25, 2024 · 5 comments
Open

Guests have no access to shared folders in NC28 #1106

Karl-MCS opened this issue Jan 25, 2024 · 5 comments
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working needs info Not enough information provided

Comments

@Karl-MCS
Copy link

On a new installation of Nextcloud 28 AIO with the Guests app v3.0.1 installed, a guest user is created during the workflow of sharing a folder by typing in their email address and clicking invite guest. The guest is given "can edit" access to the folder. The guest logs in and sets their password. They then go to Shares > Shared with you, and click on the shared folder. However the shared folder does not open, instead showing an empty path of /Shared which does not exist in their home folder, and nothing can be seen or uploaded. The share's existing contents do not appear nor does the "+ New" button. Nothing appears under "All files" either, which does have the "+ New" button but silently fails any operation.

If the same folder is shared with a link instead of the guest account, the button is present and working.

This works as expected in Nextcloud 27.1.5 AIO with Guests app v2.5.1.

@skjnldsv
Copy link
Member

@nickvergessen is it like #1107 ?

@nickvergessen
Copy link
Member

I don't think so

@skjnldsv
Copy link
Member

@Karl-MCS please try again on 28.0.3

@skjnldsv skjnldsv added bug Something isn't working 0. Needs triage Pending approval or rejection. This issue is pending approval. needs info Not enough information provided labels Feb 29, 2024
@hartsberger
Copy link

I have exact same issue.
Nextcloud AIO v8.2.1
Nextcloud Hub 7 (28.0.5)
Guests app: 3.0.1

Enabled:
  - activity: 2.20.0
  - admin_audit: 1.18.0
  - analytics: 4.13.0
  - assistant: 1.0.9
  - bookmarks: 14.0.2
  - calendar: 4.7.4
  - circles: 28.0.0
  - cloud_federation_api: 1.11.0
  - comments: 1.18.0
  - contacts: 5.5.3
  - contactsinteraction: 1.9.0
  - cospend: 1.6.1
  - dashboard: 7.8.0
  - dav: 1.29.1
  - deck: 1.12.2
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_antivirus: 5.5.1
  - files_fulltextsearch: 28.0.0
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - flow_notifications: 1.8.0
  - fulltextsearch: 28.0.1
  - fulltextsearch_elasticsearch: 28.0.2
  - groupfolders: 16.0.6
  - guests: 3.0.1
  - integration_libretranslate: 1.1.1
  - integration_openai: 2.0.1
  - integration_openstreetmap: 1.0.12
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - maps: 1.4.0
  - memories: 7.3.1
  - music: 1.11.0
  - news: 24.0.0
  - nextcloud-aio: 0.5.0
  - nextcloud_announcements: 1.17.0
  - notes: 4.10.0
  - notifications: 2.16.0
  - notify_push: 0.6.11
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - photos: 2.4.0
  - previewgenerator: 5.5.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - recognize: 6.1.1
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - richdocuments: 8.3.7
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - stt_whisper: 1.0.8
  - support: 1.11.1
  - survey_client: 1.16.0
  - suspicious_login: 6.0.0
  - systemtags: 1.18.0
  - tables: 0.7.2
  - tasks: 0.16.0
  - text: 3.9.1
  - text2image_stablediffusion: 1.0.2
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - twofactor_nextcloud_notification: 3.9.0
  - twofactor_totp: 10.0.0-beta.2
  - user_migration: 5.0.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - weather_status: 1.8.0
  - workflowengine: 2.10.0
Disabled:
  - bruteforcesettings: 2.8.0
  - encryption: 2.16.0
  - files_external: 1.20.0
  - user_ldap: 1.19.0

What additional info should I provide?

@hartsberger
Copy link

This issue still exists after updates:

  • Nextcloud AIO v9.0.1
  • Nextcloud Hub 8 (29.0.2)
  • Guests version 3.1.0

@Karl-MCS, have you modified the config parameter "share_folder"?
Link to documentation: https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/config_sample_php_parameters.html#share-folder

In my case I have set this to a custom value.
My current workaround is to set it to the default value again "/".
Then, every new share is displayed correctly to the guest users.

Hope this helps for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working needs info Not enough information provided
Projects
None yet
Development

No branches or pull requests

4 participants