mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-25 01:02:15 +00:00
Adds object_permission.skills to keys and teams, enforces it on
/claude-code/marketplace.json?key=, /claude-code/plugins and
/claude-code/plugins/{name}, and exposes an Allowed Skills selector in
the key and team create/edit forms of the Admin UI
Co-authored-by: yassin <yassin@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
26 lines
899 B
Python
26 lines
899 B
Python
"""
|
|
Object permission table model.
|
|
|
|
Canonical definition for ``litellm_objectpermissiontable``. Re-exported from
|
|
``litellm.proxy._types`` for backwards compatibility.
|
|
"""
|
|
|
|
from litellm.types.llms.base import LiteLLMPydanticObjectBase
|
|
|
|
|
|
class LiteLLM_ObjectPermissionTable(LiteLLMPydanticObjectBase):
|
|
"""Represents a LiteLLM_ObjectPermissionTable record"""
|
|
|
|
object_permission_id: str
|
|
mcp_servers: list[str] | None = []
|
|
mcp_access_groups: list[str] | None = []
|
|
mcp_tool_permissions: dict[str, list[str]] | None = None
|
|
vector_stores: list[str] | None = []
|
|
agents: list[str] | None = []
|
|
agent_access_groups: list[str] | None = []
|
|
models: list[str] | None = []
|
|
mcp_toolsets: list[str] | None = None
|
|
blocked_tools: list[str] | None = []
|
|
search_tools: list[str] | None = []
|
|
mcp_tool_search_enabled: bool | None = None
|
|
skills: list[str] | None = None
|