This commit is contained in:
Timothy Jaeryang Baek
2024-11-16 17:17:18 -08:00
parent 73fe77c2da
commit c3aa09b95c
3 changed files with 44 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ class ToolsTable:
tool
for tool in tools
if tool.user_id == user_id
or has_access(tool.access_control, user_id, permission)
or has_access(user_id, permission, tool.access_control)
]
def get_tool_valves_by_id(self, id: str) -> Optional[dict]: