Skip to content

Commit 48a3c04

Browse files
committed
add env vars section
1 parent c4ceb20 commit 48a3c04

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/features/chat-features/chatshare.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,18 @@ If an administrator revokes your permission to create public chats (either by ch
197197

198198
This is a security measure to ensure that users who are no longer supposed to have public sharing capabilities do not have publicly accessible content.
199199

200+
## Administrator Configuration
201+
202+
Administrators of an Open WebUI instance can configure certain features and permissions using environment variables.
203+
204+
### Environment Variables
205+
206+
The following environment variables can be used to control the chat sharing functionality:
207+
208+
- `USER_PERMISSIONS_SHARING_PUBLIC_CHAT`: Set this to `true` to allow users to create public share links. If set to `false`, users will only be able to create private links that require authentication. This is equivalent to the "Enable Public Chat Sharing" permission in the admin panel.
209+
- `USER_PERMISSIONS_CHAT_SHARE`: Set this to `false` to disable the chat sharing feature entirely. If disabled, users will not see the "Share" button in the chat interface.
210+
- `ENABLE_COMMUNITY_SHARING`: Set this to `false` to disable the "Share to Open WebUI Community" feature. If disabled, the button will not be visible in the "Share Chat" modal.
211+
200212
## Automatic Revocation and Expiration
201213

202214
Shared links can be automatically revoked under several conditions:

0 commit comments

Comments
 (0)