Hey, We have a requirement to build a UI displayin...
# spicedb
a
Hey, We have a requirement to build a UI displaying a list of resources of a certain type with the numbers of users that have access to these resources with a certain permission. I.e. Resource A - 23 users Resource B - 12 users A LookupSubjects call per resource is too expensive and the Lookup Watch API doesn't seem to be moving, so we're thinking of adding some custom cache implementation outside SpiceDB. I'm pretty sure I saw a discussion either here in Discord or on Github about building such a cache, but I can't find it anymore for some reason. I think the idea suggested in that discussion was to use the reachability resolution API in order to understand what could have been affected by adding or deleting a relationship and based on that to re-check and re-cache things if necessary. Is this still a reasonable approach? Is exposing the reachability API something that can happen soon or will we have to create a SpiceDB fork and expose the API in it?