You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from (select application."id"::text, application."name",
3
+
application."desc",
4
+
application."is_publish",
6
5
application."type",
7
-
'application'as"resource_type",
6
+
'application'as"resource_type",
8
7
application."workspace_id",
9
-
application."folder_id",
8
+
application."folder_id",
10
9
application."user_id",
11
10
"user"."nick_name"as"nick_name",
12
11
application."create_time",
13
12
application."update_time",
14
-
application."publish_time"
15
-
from application left join"user"on user_id ="user".id
13
+
application."publish_time",
14
+
application.icon
15
+
from application
16
+
left join"user"on user_id ="user".id
16
17
where"application".id in (select target
17
-
from workspace_user_resource_permission
18
-
${workspace_user_resource_permission_query_set}
19
-
and case
20
-
when auth_type ='ROLE' then
21
-
'ROLE'= any (permission_list)
22
-
and
23
-
'APPLICATION:READ'in (select (case when user_role_relation.role_id= any (array ['USER']) THEN 'APPLICATION:READ' else role_permission.permission_id END)
0 commit comments