2025-05-28 10:57:09 +00:00
|
|
|
select *
|
2025-07-15 01:49:10 +00:00
|
|
|
from (select application."id"::text, application."name",
|
|
|
|
|
application."desc",
|
|
|
|
|
application."is_publish",
|
2025-06-18 10:14:02 +00:00
|
|
|
application."type",
|
2025-07-15 01:49:10 +00:00
|
|
|
'application' as "resource_type",
|
2025-06-18 10:14:02 +00:00
|
|
|
application."workspace_id",
|
2025-07-15 01:49:10 +00:00
|
|
|
application."folder_id",
|
2025-06-18 10:14:02 +00:00
|
|
|
application."user_id",
|
|
|
|
|
"user"."nick_name" as "nick_name",
|
|
|
|
|
application."create_time",
|
2025-07-04 03:42:31 +00:00
|
|
|
application."update_time",
|
2025-07-15 01:49:10 +00:00
|
|
|
application."publish_time",
|
|
|
|
|
application.icon
|
|
|
|
|
from application
|
|
|
|
|
left join "user" on user_id = "user".id
|
2025-10-17 09:29:12 +00:00
|
|
|
where application."id"::text in (select target
|
2025-07-15 01:49:10 +00:00
|
|
|
from workspace_user_resource_permission ${workspace_user_resource_permission_query_set}
|
2025-10-14 08:31:30 +00:00
|
|
|
and 'VIEW' = any (permission_list))) temp
|
|
|
|
|
${application_query_set}
|