-
Notifications
You must be signed in to change notification settings - Fork 17
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 can't see files when Collectives are enabled #863
Comments
To add information. If you are a guest you typically dont have any rights to create folders or files. But if someone shares something to you you have that. The skeleton folder doesn't seem to be copied in for guests. And apps like collectives cant create the /Collectives folder that is necessary for the app to work as it should. There need to be some special handling for apps that needs a folder to be there for mount points. Like Collectives or if you create a special folder where content should be shared to. Not sure if this belongs here or if we should create bugs in the other repositories as well. |
I would move this to the collectives app, as the fix should be applied there |
@juliushaertl it also affects if you have files shared to a folder we have one called "/Shared with me" in this case. That doesnt work either. |
In that case a separate bug report in server (for the files_sharing app) would be appreciated |
@small1 Can you create the issue report on server an link it here please? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@max-nextcloud It's 50% solved. Users can now see shared documents, but they still get the message "This folder is best shown in Collectives", and "You don't have permission to upload anything here". |
How did you invite the guest users? The message "You don't have permission to upload anything here" is correct, right? I mean these are guest accounts and they are not in a writeable share folder. |
We invite them in the guests app. What happens is that the collective folder can't be created and thus thinks that / should be the folder to store everything in. If we create that manually and scan the users files it will work as it should |
Yes, user was "created" (rather activated) by sharing Testdockument.txt through email to my own user [email redacted]. I'm not sure about the permissions, but you're probably right. Though the file is not part of Collectives and has nothing to do with Collectives at all. |
Hum... just a wild guess. Maybe collectives cannot create the folder for it's mountpoints - falls back to the root folder and from there on thinks all folders are belong to it. Funny thing is that we have not observed this behavior on our own instance with guest users. |
@enoch85 Could you share the Collectives folder with them? I'd be curious what happens then:
|
@max-nextcloud I did that test when we filed the bug. Folder wasn't created. It started working correctly after we created the collective folder manually |
Actual behavior
When using the guests app in combination with Collectives newly invited guest can only see this:
Creating a regular user (non admin or admin) doesn't have this behavior, everything shows up as normal.
We checked the Collectives app as a guest user, and even if a Collective is created, it still aren't aware of the mapping for the Collectives folder. It just says something like "Please create a Collective to be able to choose location". Non-guest users doesn't have this issue though.
What we tried:
In both cases, the same issue appears.
Expected behavior
When a new user is invited, they should be able to see everything, just as a normal user.
Settings:
Nextcloud version
27.0.2
PHP
8.2
Server
Ubuntu server 22.04
The text was updated successfully, but these errors were encountered: