mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #18650] feat: Import/export model as permission #18661
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sinejespersen on GitHub (Oct 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18650
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:
7a83e7dfa3/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?