wolfv
05/05/2023, 6:39 AMvroldanbet
05/05/2023, 9:23 AMLookupResources
and join with your database using IN
clauses
2. the upcoming paginated LookupResources
would allow you to fetch pages of authorize resources, which you can use to paginate your application UI, assuming you don't need specific ordering and are fine with the order coming from SpiceDB (which is deterministic)
3. if none of the above works, then the large-scale solution we have in mind is denormalizing the results of LookupResources
closer to your application database using LookupWatch
, see https://github.com/authzed/spicedb/issues/207wolfv
05/05/2023, 1:51 PM