mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-30 17:25:30 -05:00
[GH-ISSUE #15696] issue: non-admin users can on-share private models with unauthorised users #88382
Reference in New Issue
Block a user
Originally created by @adam-morris-xrd on GitHub (Jul 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15696
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.15
Ollama Version (if applicable)
No response
Operating System
Windows 11
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
A private model that is shared with certain user groups (e.g. Group A) should be accessible only to members of that group.
Actual Behavior
Members of an authorised user group (e.g. Group A) can on-share the model to members of non-authorised groups (e.g. a member of Group B).
Steps to Reproduce
At this point, User A has access to Model X and User B does not.
Switch to User A account:
Switch to User B account:
User B has access to the model.
Logs & Screenshots
N/A.
Additional Information
Admins can restrict model access by setting a model to "private" and choosing the group(s) who should have access. However, a non-admin user who has been granted access is then able to to on-share the model (by creating their own custom-model from it as a base) with any group of which they are a member. This can mean that a user who was NOT given access according to the Admin (i.e. not a member of any group given access) can nevertheless access the model. Is this intended behaviour?
@tjbck commented on GitHub (Jul 14, 2025):
This is an intended behaviour and the workspace permissions should only be given out extremely judiciously. You can prevent what you described here by carefully scoping the permissions for each group.
Related: https://github.com/open-webui/open-webui/discussions/15519
@adam-morris-xrd commented on GitHub (Jul 14, 2025):
Thank you for your swift reply. Can I please ask for some clarification? I do not see a way for the admin to prevent on-sharing of private base models (e.g. one configured to be accessed only by Group A) without disabling Group A's "Models Access" too. I would like to allow users in Group A to define their own workspace models (system prompts etc) but not to allow them to share the base model beyond the group it is intended for. It seems counterintuitive to me that a base model would show as private to Group A when actually this isn't the ultimate control, and it might be available to all groups via on-sharing. Is there something about the design that I am misunderstanding? It seems that perhaps you consider "Model Access" to only be for a set of "power-users" or quasi-admins? I couldn't see anything that addresses this question in #15519 or that describes this design concept in the docs.
@Classic298 commented on GitHub (Jul 15, 2025):
You have a document management system
You give user A access to more sensitive documents than user B.
User B only gets access to normal documents.
User A has access to all documents.
User B can still decide to go ahead and take some of the sensitive documents and share it with user A, even though user A initially didn't have access to it.
As Tim said, this is intended behavior