[GH-ISSUE #8441] Add ability to disable access to Chat Controls for users #15127

Closed
opened 2026-04-19 21:25:34 -05:00 by GiteaMirror · 10 comments
Owner

Originally created by @bannert1337 on GitHub (Jan 9, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8441

Originally assigned to: @tjbck on GitHub.

Is your feature request related to a problem? Please describe.
Currently, all users have access to Chat Controls, which may not be desirable in certain environments where administrators want to restrict access to these controls for specific users or roles.

Describe the solution you'd like
I would like to have a configuration option or permission setting that allows administrators to disable access to Chat Controls for specific users or roles. This could be implemented as a toggle in the user management settings or as a role-based permission.

Describe alternatives you've considered
An alternative could be to hide the Chat Controls UI elements for users who do not have the necessary permissions, but this might not be as effective as completely disabling access.

Additional context
This feature would be particularly useful in enterprise environments where different levels of access control are required for different users or roles.

Originally created by @bannert1337 on GitHub (Jan 9, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8441 Originally assigned to: @tjbck on GitHub. **Is your feature request related to a problem? Please describe.** Currently, all users have access to Chat Controls, which may not be desirable in certain environments where administrators want to restrict access to these controls for specific users or roles. **Describe the solution you'd like** I would like to have a configuration option or permission setting that allows administrators to disable access to Chat Controls for specific users or roles. This could be implemented as a toggle in the user management settings or as a role-based permission. **Describe alternatives you've considered** An alternative could be to hide the Chat Controls UI elements for users who do not have the necessary permissions, but this might not be as effective as completely disabling access. **Additional context** This feature would be particularly useful in enterprise environments where different levels of access control are required for different users or roles.
Author
Owner

@tjbck commented on GitHub (Jan 9, 2025):

Agreed, Great suggestion.

<!-- gh-comment-id:2581036115 --> @tjbck commented on GitHub (Jan 9, 2025): Agreed, Great suggestion.
Author
Owner

@dpk-it commented on GitHub (Jan 9, 2025):

Especially for the ability to pass a system prompt to a model using this interface

<!-- gh-comment-id:2581320849 --> @dpk-it commented on GitHub (Jan 9, 2025): Especially for the ability to pass a system prompt to a model using this interface
Author
Owner

@codebath1387 commented on GitHub (Jan 12, 2025):

This would be very helpful to have available as a permission selectable through the admin panel's user permissions along with the ability to administered user access to the memory feature and their system prompt and chat controls in their user settings.

The existing admin configurable user permissions is a good start.

<!-- gh-comment-id:2585860265 --> @codebath1387 commented on GitHub (Jan 12, 2025): This would be very helpful to have available as a permission selectable through the admin panel's user permissions along with the ability to administered user access to the memory feature and their system prompt and chat controls in their user settings. The existing admin configurable user permissions is a good start.
Author
Owner

@tjbck commented on GitHub (Jan 16, 2025):

Added to dev!

image

<!-- gh-comment-id:2594688973 --> @tjbck commented on GitHub (Jan 16, 2025): Added to dev! ![image](https://github.com/user-attachments/assets/05b33502-92f0-4796-9574-7543ce8b815d)
Author
Owner

@bannert1337 commented on GitHub (Jan 16, 2025):

Appreciated!

<!-- gh-comment-id:2594693478 --> @bannert1337 commented on GitHub (Jan 16, 2025): Appreciated!
Author
Owner

@Classic298 commented on GitHub (Feb 27, 2025):

Hey guys, this toggle has one issue:

It also disables to user-sided valves, which, as the name and intention of these valves suggest, are intentionally exposed to the user.
Furthermore, user-sided valves are unrelated to a single chat and instead get stored across sessions.

Valves are Tool and Filter specific, but by disabling the Allow Chat Controls, the Valves of Filters and Tools become inaccessible!

Allow Chat Controls should be, as the name clearly suggests, be related to Chat Controls, not Tool Controls or Filter Controls (Valve Controls).

Was this intended? Because, well, it doesn't make much sense since valves are not part of a chat control...

<!-- gh-comment-id:2687113253 --> @Classic298 commented on GitHub (Feb 27, 2025): Hey guys, this toggle has one issue: It also disables to user-sided valves, which, as the name and intention of these valves suggest, are intentionally exposed to the user. Furthermore, user-sided valves are unrelated to a single chat and instead get stored across sessions. Valves are Tool and Filter specific, but by disabling the Allow Chat Controls, the Valves of Filters and Tools become inaccessible! Allow Chat Controls should be, as the name clearly suggests, be related to Chat Controls, not Tool Controls or Filter Controls (Valve Controls). Was this intended? Because, well, it doesn't make much sense since valves are not part of a chat control...
Author
Owner

@Classic298 commented on GitHub (Mar 4, 2025):

bump

<!-- gh-comment-id:2697329770 --> @Classic298 commented on GitHub (Mar 4, 2025): bump
Author
Owner

@Classic298 commented on GitHub (Apr 1, 2025):

Was fixed with 0.6.0! Thanks everyone

<!-- gh-comment-id:2768925097 --> @Classic298 commented on GitHub (Apr 1, 2025): Was fixed with 0.6.0! Thanks everyone
Author
Owner

@mkagit commented on GitHub (Apr 28, 2025):

And how about an Admin that wants to hide the function/ tools valves from the users? Toggle chat controls won't hide it

<!-- gh-comment-id:2836034523 --> @mkagit commented on GitHub (Apr 28, 2025): And how about an Admin that wants to hide the function/ tools valves from the users? Toggle chat controls won't hide it
Author
Owner

@Classic298 commented on GitHub (Apr 28, 2025):

@mkagit Then do not use UserValves, instead only normal Valves, if the user is not intended to see the valves in the first place.

<!-- gh-comment-id:2836215072 --> @Classic298 commented on GitHub (Apr 28, 2025): @mkagit Then do not use UserValves, instead only normal Valves, if the user is not intended to see the valves in the first place.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15127