From c30fd26eeb8d069f23323560c8592fbf686e51d8 Mon Sep 17 00:00:00 2001 From: Taylor Wilsdon Date: Wed, 26 Feb 2025 12:38:46 -0500 Subject: [PATCH] update to reflect support for env var config as well as in-ui config --- .gitignore | 1 + docs/features/workspace/permissions.md | 2 +- docs/getting-started/env-configuration.md | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b2d6de3..72dfb77 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ npm-debug.log* yarn-debug.log* yarn-error.log* +.aider* diff --git a/docs/features/workspace/permissions.md b/docs/features/workspace/permissions.md index 0938b48..dbda82f 100644 --- a/docs/features/workspace/permissions.md +++ b/docs/features/workspace/permissions.md @@ -13,7 +13,7 @@ Workspace permissions control access to core components of the Open WebUI platfo * **Knowledge Access**: Toggle to allow users to access and manage knowledge bases. (Environment variable: `USER_PERMISSIONS_WORKSPACE_KNOWLEDGE_ACCESS`) * **Prompts Access**: Toggle to allow users to access and manage saved prompts. (Environment variable: `USER_PERMISSIONS_WORKSPACE_PROMPTS_ACCESS`) * **Tools Access**: Toggle to allow users to access and manage tools. (Environment variable: `USER_PERMISSIONS_WORKSPACE_TOOLS_ACCESS`) *Note: Enabling this gives users the ability to upload arbitrary code to the server.* -* **Public Sharing**: Toggle to allow users to share content publicly from their workspace. +* **Public Sharing**: Toggle to allow users to share content publicly from their workspace. (Environment variable: `USER_PERMISSIONS_WORKSPACE_PUBLIC_SHARING`) ## Chat Permissions diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 86f3538..0b3fdcc 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -2002,6 +2002,13 @@ See https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-o - Description: Enables or disables user permission to access workspace tools. - Persistence: This environment variable is a `PersistentConfig` variable. +#### `USER_PERMISSIONS_WORKSPACE_PUBLIC_SHARING` + +- Type: `bool` +- Default: `True` +- Description: Enables or disables user ability to share created knowledge, tools, models and prompts publicly (if disabled, can only share to specific users and groups). +- Persistence: This environment variable is a `PersistentConfig` variable. + ## Chat Permissions #### `USER_PERMISSIONS_CHAT_FILE_UPLOAD`