Update targets to new listing method (#2045)
This uses the prefetch method to fetch resource IDs and validate them for authz by the user before then fetching the full list of targets.
This commit is contained in:
1 parent
21b0d584ad
commit
4cf2a87e8d
8 files changed
+150
-23
No files matched your search
@@ -43,5 +43,11 @@ final (action, library_id) as (
|
||||
)
|
||||
select * from final
|
||||
order by action, library_id;
|
||||
`
|
||||
|
||||
targetPublicIdList = `
|
||||
select public_id, scope_id from target
|
||||
%s
|
||||
;
|
||||
`
|
||||
)
|
||||
Reference in new issue
Block a user