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

[BUG]: Document Upload Not Functioning for Default Users in Docker Installation on a multiuser setup #2060

Closed
spyroskotsakis opened this issue Aug 7, 2024 · 4 comments · Fixed by #2061
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.

Comments

@spyroskotsakis
Copy link

How are you running AnythingLLM?

Docker (local)

What happened?

In a Docker installation with multiple users enabled, the document upload functionality does not work for regular users. When the file selection popup opens and a document is chosen, no response or indication appears to show that the document has been attached to the chat. However, for Managers and Administrators, this functionality works without any issues. Additionally, no errors are found in the logs.

Is this a known issue?

Thanks!

Are there known steps to reproduce?

To reproduce the issue, set up a Docker installation with multiple users enabled. Log in to the application using a regular user account (default user type). Navigate to the chat section and attempt to upload a document by opening the file selection popup and choosing a document. Observe that there is no response or indication that the document has been attached to the chat.

@spyroskotsakis spyroskotsakis added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label Aug 7, 2024
@spyroskotsakis spyroskotsakis changed the title [BUG]: Document Upload Not Functioning for Regular Users in Docker Installation [BUG]: Document Upload Not Functioning for Default Users in Docker Installation on a multiuser setup Aug 7, 2024
@spyroskotsakis
Copy link
Author

I would expect that the default user can upload their own documents to the chat without affecting the workspace's default settings.

@timothycarambat
Copy link
Member

Default users cannot upload documents, which is why nothing happens as it is gated on the backend to prevent that. The UI element allowing this is the bug.

@spyroskotsakis
Copy link
Author

@timothycarambat Thank you for clarifying. Are there any ongoing developments to make this feature available to default users? A workspace that offers more flexibility and allows interaction with each user's own data would be extremely helpful.
Thanks a lot!

@timothycarambat
Copy link
Member

Indeed we do (would just be a custom role)
#1787

Considering the scope of this issue, we may add an intermediate role soon that basically allows "private workspace" so everyone can do their own thing without impacting anyone else.

TuanBC pushed a commit to TuanBC/anything-llm that referenced this issue Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants