[GH-ISSUE #12599] feat: Restrict "Add Model"-button to Administrators in Configuration #55318

Closed
opened 2026-05-05 17:26:18 -05:00 by GiteaMirror · 5 comments
Owner

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

  • I have searched the existing issues and discussions.

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

Image

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 - [x] I have searched the existing issues and discussions. ### 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 ![Image](https://github.com/user-attachments/assets/d55ed42c-b174-48a2-88df-b7eade5e8f4a)
Author
Owner

@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

<!-- gh-comment-id:2787813395 --> @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
Author
Owner

@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.

<!-- gh-comment-id:2789977147 --> @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.
Author
Owner

@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"

<!-- gh-comment-id:2790142864 --> @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"
Author
Owner

@tjbck commented on GitHub (Apr 13, 2025):

Addressed in dev.

Image

<!-- gh-comment-id:2799333047 --> @tjbck commented on GitHub (Apr 13, 2025): Addressed in dev. ![Image](https://github.com/user-attachments/assets/24461df3-2980-49a8-a2b1-435a2e009e7d)
Author
Owner

@0e6df6bc5e4c7d830f2756f3b3aebfed commented on GitHub (Apr 14, 2025):

woohoo!

<!-- gh-comment-id:2801841522 --> @0e6df6bc5e4c7d830f2756f3b3aebfed commented on GitHub (Apr 14, 2025): woohoo!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#55318