So how do people typically use SpiceDB for listing...
# spicedb
a
So how do people typically use SpiceDB for listing records? I have a relational DB with records that can be returned via an API endpoint. When an authenticated user makes a request, is the typical pattern to query SpiceDB for a list of all records that this user can view and then use those in my DB query? ie
SELECT * FROM records WHERE id in ?
where
?
is populated with an array of IDs from SpiceDB Or am I not thinking Spicy enough (ie idiomatic SpiceDB)?
2 Views