mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-27 12:12:57 +00:00
fix: resource permission auth (#3243)
This commit is contained in:
parent
399e00415c
commit
14ae7864aa
|
|
@ -6,7 +6,8 @@ FROM (SELECT "id",
|
|||
'KNOWLEDGE' AS "auth_target_type",
|
||||
user_id,
|
||||
workspace_id,
|
||||
"type"::varchar AS "icon"
|
||||
"type"::varchar AS "icon",
|
||||
folder_id
|
||||
FROM knowledge
|
||||
${knowledge_query_set}
|
||||
UNION
|
||||
|
|
@ -15,7 +16,8 @@ FROM (SELECT "id",
|
|||
'APPLICATION' AS "auth_target_type",
|
||||
user_id,
|
||||
workspace_id,
|
||||
icon
|
||||
icon,
|
||||
folder_id
|
||||
FROM application
|
||||
${application_query_set}
|
||||
) app_or_knowledge
|
||||
|
|
|
|||
Loading…
Reference in New Issue