Originally created by @tkg61 on GitHub (Jan 6, 2025).
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:
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).
# 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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @tkg61 on GitHub (Jan 6, 2025).
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:
to:
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.