Originally created by @sinejespersen on GitHub (Oct 27, 2025).
### Check Existing Issues
- [x] I have searched all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.
### Problem Description
We have users that should be able to import/export models, but should not be administrators
### Desired Solution you'd like
we would like to contribute with a fix that makes this line a permission instead of hardcoded admin:
https://github.com/open-webui/open-webui/blob/7a83e7dfa367d19f762ec17cac5e4a94ea2bd97d/src/lib/components/workspace/Models.svelte#L311
### Alternatives Considered
_No response_
### Additional Context
_No response_
I think that if we modify anything related to permissions, especially an admin-only feature like this, we should also update the corresponding import/export permissions for prompts and tools in the Workspace section. A new permissions sections could be created from this.
@silentoplayz commented on GitHub (Oct 28, 2025):
I think that if we modify anything related to permissions, especially an admin-only feature like this, we should also update the corresponding import/export permissions for prompts and tools in the Workspace section. A new permissions sections could be created from this.
I suppose more of a fundamental question here is, why does a non-admin user need to import and export, which could be exploited and can be destructive?
@tjbck commented on GitHub (Oct 28, 2025):
I suppose more of a fundamental question here is, why does a non-admin user need to import and export, which could be exploited and can be destructive?
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 @sinejespersen on GitHub (Oct 27, 2025).
Check Existing Issues
Problem Description
We have users that should be able to import/export models, but should not be administrators
Desired Solution you'd like
we would like to contribute with a fix that makes this line a permission instead of hardcoded admin:
https://github.com/open-webui/open-webui/blob/7a83e7dfa367d19f762ec17cac5e4a94ea2bd97d/src/lib/components/workspace/Models.svelte#L311
Alternatives Considered
No response
Additional Context
No response
@silentoplayz commented on GitHub (Oct 28, 2025):
I think that if we modify anything related to permissions, especially an admin-only feature like this, we should also update the corresponding import/export permissions for prompts and tools in the Workspace section. A new permissions sections could be created from this.
@tjbck commented on GitHub (Oct 28, 2025):
I suppose more of a fundamental question here is, why does a non-admin user need to import and export, which could be exploited and can be destructive?