fix: stabilize embedded WeKnora detail page
This commit is contained in:
1 parent
11e54550ed
commit
a28ad2140e
3 files changed
+57
No files matched your search
@@ -479,6 +479,9 @@ async def _authorize_weknora_api_proxy(
|
||||
if read_method and tail == ["me", "invitations", "pending-count"]:
|
||||
return
|
||||
|
||||
if read_method and tail == ["tenants", "kv", "retrieval-config"]:
|
||||
return
|
||||
|
||||
if tail[:1] == ["knowledge-bases"]:
|
||||
if len(tail) == 1:
|
||||
if method == "GET":
|
||||
|
||||
Reference in new issue
Block a user