# spicedb


06/10/2022, 11:58 PM
We have a use case, where for some users we need to pre-provision all the access rules between that user and all permitted resources. I have been looking at the WatchAPI and the LookupAPI to see if I can achieve that. Given that the user and the resource may not be directly connected in the graph, we need to watch out for intermediate relationship changes. Any guidelines on how I can achieve this using the current API set? Will the Leopard index API help solve this in a less tedious fashion?