[GH-ISSUE #15780] issue: Newly created user groups does not respect default permissions #33197

Closed
opened 2026-04-25 07:06:27 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @ctcanbol on GitHub (Jul 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15780

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

v0.6.16

Ollama Version (if applicable)

No response

Operating System

Ubuntu 22.04

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

  • Newly created user groups expected to be created with default permissions defined in environment variables and/or user interface.
  • When ENABLE_LDAP_GROUP_CREATION=true, newly created user groups expected to be created with default permissions defined in environment variables and/or user interface.

Actual Behavior

  • Newly created user groups does not respect default permissions defined in environment variables and/or user interface. They're created with a constant set of permissions elsewhere.
  • When ENABLE_LDAP_GROUP_CREATION=true, newly created user groups does not respect default permissions defined in environment variables and/or user interface. They're created with a constant set of permissions elsewhere.

Steps to Reproduce

  1. Change default user permissions from user interface or environment variables (e.g. USER_PERMISSIONS_FEATURES_CODE_INTERPRETER=false)
  2. Create a new user group.
  3. You see USER_PERMISSIONS_FEATURES_CODE_INTERPRETER value set to true, even configured false as default.
  4. Enable ENABLE_LDAP=true with ENABLE_LDAP_GROUP_MANAGEMENT=true and ENABLE_LDAP_GROUP_CREATION=true
  5. After logging in with a LDAP user, check newly created groups.
  6. You see USER_PERMISSIONS_FEATURES_CODE_INTERPRETER value set to true, even configured false as default.

Logs & Screenshots

Default permissions in yml:

Image

Default permissions in UI:

Image

A new group created with:

Image

Additional Information

This problem also existed in v0.6.15.

Originally created by @ctcanbol on GitHub (Jul 16, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/15780 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version v0.6.16 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 22.04 ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior - Newly created user groups expected to be created with default permissions defined in environment variables and/or user interface. - When ENABLE_LDAP_GROUP_CREATION=true, newly created user groups expected to be created with default permissions defined in environment variables and/or user interface. ### Actual Behavior - Newly created user groups does not respect default permissions defined in environment variables and/or user interface. They're created with a constant set of permissions elsewhere. - When ENABLE_LDAP_GROUP_CREATION=true, newly created user groups does not respect default permissions defined in environment variables and/or user interface. They're created with a constant set of permissions elsewhere. ### Steps to Reproduce 1. Change default user permissions from user interface or environment variables (e.g. USER_PERMISSIONS_FEATURES_CODE_INTERPRETER=false) 2. Create a new user group. 3. You see USER_PERMISSIONS_FEATURES_CODE_INTERPRETER value set to true, even configured false as default. 4. Enable ENABLE_LDAP=true with ENABLE_LDAP_GROUP_MANAGEMENT=true and ENABLE_LDAP_GROUP_CREATION=true 5. After logging in with a LDAP user, check newly created groups. 6. You see USER_PERMISSIONS_FEATURES_CODE_INTERPRETER value set to true, even configured false as default. ### Logs & Screenshots Default permissions in yml: <img width="435" height="102" alt="Image" src="https://github.com/user-attachments/assets/3157e437-0cab-474a-bf54-85b19fc3fa66" /> Default permissions in UI: <img width="673" height="465" alt="Image" src="https://github.com/user-attachments/assets/208b2ff9-e886-4417-aa58-db78040e4994" /> A new group created with: <img width="675" height="482" alt="Image" src="https://github.com/user-attachments/assets/ce4a5806-035e-4d60-81bc-3f01f4c96c5f" /> ### Additional Information This problem also existed in v0.6.15.
GiteaMirror added the bug label 2026-04-25 07:06:27 -05:00
Author
Owner

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

Intended behaviour here, default permissions do not apply to the new group permissions

<!-- gh-comment-id:3079611927 --> @tjbck commented on GitHub (Jul 16, 2025): Intended behaviour here, default permissions do not apply to the new group permissions
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#33197