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",
|
'KNOWLEDGE' AS "auth_target_type",
|
||||||
user_id,
|
user_id,
|
||||||
workspace_id,
|
workspace_id,
|
||||||
"type"::varchar AS "icon"
|
"type"::varchar AS "icon",
|
||||||
|
folder_id
|
||||||
FROM knowledge
|
FROM knowledge
|
||||||
${knowledge_query_set}
|
${knowledge_query_set}
|
||||||
UNION
|
UNION
|
||||||
@ -15,7 +16,8 @@ FROM (SELECT "id",
|
|||||||
'APPLICATION' AS "auth_target_type",
|
'APPLICATION' AS "auth_target_type",
|
||||||
user_id,
|
user_id,
|
||||||
workspace_id,
|
workspace_id,
|
||||||
icon
|
icon,
|
||||||
|
folder_id
|
||||||
FROM application
|
FROM application
|
||||||
${application_query_set}
|
${application_query_set}
|
||||||
) app_or_knowledge
|
) app_or_knowledge
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user