mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #12599] feat: Restrict "Add Model"-button to Administrators in Configuration #55318
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 @L1-0 on GitHub (Apr 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12599
Check Existing Issues
Problem Description
Right now there seems to be no restrictions in place to where users can put stress on the system by overloading requests with multiple models at the same time.
Desired Solution you'd like
A way to restrict this feature to Administrator Accounts only.
Alternatives Considered
Hiding the Button via a Proxy Server inbetween. Removing the Button in code.
Additional Context
@Anaphylaxis commented on GitHub (Apr 8, 2025):
What's to stop them putting stress on the system by creating multiple new chats or even using the OpenAI-compatible API to spam new chats? This seems to be a square band-aid over a leaky round hole. IMO right now the system should only be used by trusted people, unless you only enable "Direct Connections" and don't have any admin connections
@0e6df6bc5e4c7d830f2756f3b3aebfed commented on GitHub (Apr 9, 2025):
at least add a way to limit it to a certain number of models at a time, like 2.
@Classic298 commented on GitHub (Apr 9, 2025):
@Anaphylaxis very fair point. there should be another setting instead to limit the amount of parallel AI requests per user - this is indeed not a fix but a "let's hide the symptoms"
@tjbck commented on GitHub (Apr 13, 2025):
Addressed in dev.
@0e6df6bc5e4c7d830f2756f3b3aebfed commented on GitHub (Apr 14, 2025):
woohoo!