feat: Add permissions to disable Folders and Interface Settings#19484
feat: Add permissions to disable Folders and Interface Settings#19484eliem-ark wants to merge 7 commits intoopen-webui:devfrom
Conversation
chore: format
👋 Welcome and Thank You for Contributing!We appreciate you taking the time to submit a pull request to Open WebUI!
|
|
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms. |
|
@eliem-ark add it to the PR desc. please. |
|
@Classic298 Done, thank you |
|
I would suggest to also add the admin configuration to toggle folder visibility for all the users, in case the admins don't want to use this feature. |
|
@eliem-ark Please check my PR #19529 It should become: Thanks! |
|
Discussion wanted for why disabling interface settings is needed/useful! |
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request.
This is to ensure large feature PRs are discussed with the community first, before starting work on it. If the community does not want this feature or it is not relevant for Open WebUI as a project, it can be identified in the discussion before working on the feature and submitting the PR.
Before submitting, make sure you've checked the following:
devbranch. Not targeting thedevbranch will lead to immediate closure of the PR.Changelog Entry
Description
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
This PR adds environment variables to control visibility of Folders and Interface Settings for normal users.
Related to: #19210 &
#18459 &
#18299
Added
USER_PERMISSIONS_FEATURES_FOLDERSenvironment variable (default:True)USER_PERMISSIONS_FEATURES_INTERFACE_SETTINGSenvironment variable (default:True)Changed
USER_PERMISSIONS_FEATURES_FOLDERS=FalseUSER_PERMISSIONS_FEATURES_INTERFACE_SETTINGS=FalseTesting
Here are screeshots of the interface for the user with the USER_PERMISSIONS_FEATURES_FOLDERS=False and USER_PERMISSIONS_FEATURES_INTERFACE_SETTINGS=False