[GH-ISSUE #8363] Add the ability to set group permissions in creation request via the API #15097

Closed
opened 2026-04-19 21:23:23 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @tkg61 on GitHub (Jan 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8363

Feature Request

Is your feature request related to a problem? Please describe.
Would like to have a single API call to create a group and set the permissions at the time of creation.

Describe the solution you'd like
Expand group creation parameters from:

{
  "name": "string",
  "description": "string"
}

to:

{
    "name": "string",
    "description": "string",
    "permissions": {
      "workspace": {
        "models": false,
        "knowledge": false,
        "prompts": false,
        "tools": false
      },
      "chat": {
        "file_upload": true,
        "delete": true,
        "edit": true,
        "temporary": true
      }
    }

Additional context

We have an automated system that will be creating groups for us essentially via a webhook like call. We would like to enable 'single shot' group creation to not have to make a middle man software to do 3 calls (make group, get group to fetch ID, set default group permissions by ID).

Alternative options
Have the ability to set a global "default group permission" which is different than "default user permissions" since those are global across groups, these default group permissions would just be for every new group created and still limit who is in them and what they can do.

Originally created by @tkg61 on GitHub (Jan 6, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8363 # Feature Request **Is your feature request related to a problem? Please describe.** Would like to have a single API call to create a group and set the permissions at the time of creation. **Describe the solution you'd like** Expand group creation parameters from: ``` { "name": "string", "description": "string" } ``` to: ``` { "name": "string", "description": "string", "permissions": { "workspace": { "models": false, "knowledge": false, "prompts": false, "tools": false }, "chat": { "file_upload": true, "delete": true, "edit": true, "temporary": true } } ``` **Additional context** We have an automated system that will be creating groups for us essentially via a webhook like call. We would like to enable 'single shot' group creation to not have to make a middle man software to do 3 calls (make group, get group to fetch ID, set default group permissions by ID). **Alternative options** Have the ability to set a global "default group permission" which is different than "default user permissions" since those are global across groups, these default group permissions would just be for every new group created and still limit who is in them and what they can do.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15097