mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
issue: Public Sharing Still Possible When Disabled in Admin Panel #5989
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @flefevre on GitHub (Aug 8, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.18
Ollama Version (if applicable)
No response
Operating System
Ubuntu
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Even when the "Sharing Permissions" options in the Admin Panel are disabled (unchecked), regular users can still publicly share their resources — including Models, Knowledge, Prompts, and Tools.
This behavior allows unintended public visibility of resources despite explicit configuration to restrict sharing.
When sharing permissions are disabled in the Admin Panel, regular users should not be able to make their resources public.
Actual Behavior
Regular users can still share their resources publicly, ignoring the admin’s configuration.
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@rgaricano commented on GitHub (Aug 8, 2025):
I supose that the user that can share in this way isn't in any group with sharing permission. ¿?
@flefevre commented on GitHub (Aug 8, 2025):
Normally if public sharing rights are not enable, all basic user should not be able to share any public ressources.
Could anyone confirm the behaviour with 0.18 version and perhaps identify the code bug
Thanks
@rgaricano commented on GitHub (Aug 8, 2025):
I'm going to check, but just a clarification: Default Permissions are the default permissions settings for new users or users that haven't assigned permissions, it isn't a global configuration that override other users/group permissions.
@Classic298 commented on GitHub (Aug 8, 2025):
@flefevre is the "basic user" you are testing this with in NO other group?
If yes, you've found a bug.
If no, check the permissions of the group he is in. Perhaps this group has public sharing enabled.
Anyways, with the provided steps to reproduce, i cannot reproduce this bug.
@joni-graham commented on GitHub (Aug 8, 2025):
We do not see the Workspace Permissions in the Admin UI in either v0.6.16 or v0.6.18. We were changing the permissions in our .yaml config file and doing a restart. We can toggle off the permission that gives Tools access to users, but when we toggle the public sharing permissions, they don't change after a restart.
Should we see the Workspace Permissions in the the Admin UI? If so, in both versions we have installed?
@rgaricano commented on GitHub (Aug 8, 2025):
in adminSettings/Users/Groups
@joni-graham commented on GitHub (Aug 8, 2025):
thank you @rgaricano, I had found it. I turned off public sharing for all groups and users in our staging environment installed with v0.6.18 and it tested well as a USER. I also tested as my ADMIN account and I can still set to Public. So, I think the feature is working as expected. What confused us is we changed in the .yaml file and restarted, but the behavior did not change. We understand now that is how PersistentConfig variables are designed to behave. We just needed to find it on the Admin UI.
@flefevre commented on GitHub (Aug 9, 2025):
Hey,
I have checked
You are right: the user was belonging to a group with sharing rights.
As an admin, I have removed those rights then i do confirm the user is not able to share the knowledgebase.
It will be very usefull to develop a panel for user to see to which groups they belongs and the rights they have.
Feature Request: Display user group memberships and permissions #16416