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

Only admins can use Groupfolder via WebUI, users get rejection from WebDav #2947

Closed
w1n5l0w opened this issue May 4, 2024 · 7 comments
Closed
Labels
0. Needs triage Issues that need to be triaged bug

Comments

@w1n5l0w
Copy link

w1n5l0w commented May 4, 2024

Steps to reproduce

1.Have latest Nextcloud 28 and all apps updated
2.Have update Debian.
3. Admins can use (enter and see, create, modify files) groupfolders via WebUI in Files App, users can't enter groupfolders in WebUI files app and get answer from WebDav when clicking on groupfolder: "This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client."

Expected behaviour

Admins and Users can use groupfolders via WebUI Files App

Actual behaviour

Users can't use groupfolder via WebUI Files App

Server configuration

Operating system:
Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux

Web server:
Apache/2.4.59

Database:
MariaDB 10.11.6

PHP version:
8.2.18

Nextcloud version: (see Nextcloud admin page)
28.0.5

Group folders version:
16.0.6

Updated from an older Nextcloud/ownCloud or fresh install:
Updated from Nextcloud since v27

Where did you install Nextcloud from:
Official Nextcloud tar.gz

Are you using external storage, if yes which one: local/s3/smb/sftp/...
no

Are you using encryption: yes/no
yes

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/Saml/...
no

Client configuration

Browser:
Same behaviour on Firefox and Chrome.

@w1n5l0w w1n5l0w added 0. Needs triage Issues that need to be triaged bug labels May 4, 2024
@w1n5l0w w1n5l0w changed the title Only admins can use Groupfolder via WebUI, users get answer from WebDav Only admins can use Groupfolder via WebUI, users get rejection from WebDav May 4, 2024
@ilya-vv
Copy link

ilya-vv commented May 7, 2024

Have the same issue :(

For non-admin users in WebUI for GorupFolders folders list renders by browser as general URLs for every folder:
image

For admin - URL does not displayed in the bottom left corner of browser (uses Vue?)

Edited:
So, when non-admin user clicks on the folder, browser tries open URL:
https://_NEXTCLOUD_URL_/remote.php/dav/files/_USERNAME_/_FOLDER_NAME_
and get downloading file named FOLDER_NAME.htm contains
This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.

But when I open the same folder as admin, URL in the browser's address bar is:
https://_NEXTCLOUD_URL_/apps/files/files/_FILE_OR_FOLDER_ID_?dir=/_FOLDER_NAME_

@Dominik1400c
Copy link

Dominik1400c commented May 8, 2024

Have exactly the same issue. The same operating system. All fully patched. Nextcloud 28.0.5. On the nextcloud client all is working as expected. The problem exists only in the Webui.
Hope you fix it as soon as possible. My users complain about it.

@w1n5l0w
Copy link
Author

w1n5l0w commented May 18, 2024

This bug is still present on Nextcloud 29.0.0 with Groupfolders 17.0.0.

@ilya-vv
Copy link

ilya-vv commented May 24, 2024

I don't know what happens, but I don't face this issue at the moment.

The same Nextcloud v28.0.5 and Group Folders v16.0.6. I haven't update Nextcloud and the App because of waiting for issue confirmation and fix release.

It may be not related, but when I saw the issue (7th of May) there were several Errors in Nextcloud Log regarding webdav: InvalidPath File name is too long. A user tries to sync veryveryveryveryvery long name file using Nextcloud Desktop WIndows client. We fixed that on 13th of May.

@w1n5l0w w1n5l0w closed this as completed May 24, 2024
@w1n5l0w w1n5l0w reopened this May 24, 2024
@w1n5l0w
Copy link
Author

w1n5l0w commented Jun 26, 2024

This bug is still present on Nextcloud 29.0.3 with Groupfolders 17.0.1.

@joshtrichards
Copy link
Member

I am unable to reproduce this behavior. Are you sure there are no other errors appearing in your Nextcloud log around the same time (likely just prior, such as when the Files page is loaded for tendering)?

Also, can you check your browser inspector, specifically the Console and Network tabs for errors, transactions that aren't green, etc. This may provide further clues.

Are you all using Apache?

@w1n5l0w
Copy link
Author

w1n5l0w commented Jul 26, 2024

At least for me the problems are resolved by disabling the LibreSign app: LibreSign/libresign#3351

As long as the others doesn't experience the described problems without having LibreSign installed, the issue can be closed.

@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Issues that need to be triaged bug
Projects
None yet
Development

No branches or pull requests

4 participants