fix: add RBAC permissions for llmage /v1 API endpoints
Added logined permission entries for all v1 OpenAI-compatible endpoints: - /v1/chat/completions (existing, was missing) - /v1/models (existing, was missing) - /v1/tasks (existing, was missing) - /v1/video/generations (new) - /v1/image/generations (new) Each has both directory and index.dspy file entries.
This commit is contained in:
parent
b841f79e13
commit
6af4770709
10
load_path.py
10
load_path.py
@ -74,6 +74,16 @@ paths="""/ any
|
||||
/llmage/llm/add_llm.dspy logined
|
||||
/llmage/show_llms_by_providers.ui logined
|
||||
/llmage/list_paging_catelog_llms.dspy logined
|
||||
/llmage/v1/chat/completions logined
|
||||
/llmage/v1/chat/completions/index.dspy logined
|
||||
/llmage/v1/models logined
|
||||
/llmage/v1/models/index.dspy logined
|
||||
/llmage/v1/tasks logined
|
||||
/llmage/v1/tasks/index.dspy logined
|
||||
/llmage/v1/video/generations logined
|
||||
/llmage/v1/video/generations/index.dspy logined
|
||||
/llmage/v1/image/generations logined
|
||||
/llmage/v1/image/generations/index.dspy logined
|
||||
/public any
|
||||
/public/mainpage any
|
||||
/public/mainpage/wish.webp any
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user