Company
Date Published
Author
Joey Schorr
Word count
500
Language
English
Hacker News points
None

Summary

The Authzed team has released a significant update to SpiceDB version 1.12, which includes a new API called LookupSubjects. This API allows users to find all subjects reachable for a particular resource and permission, providing a reverse function of the previously released LookupResources API. The API is designed to be recursive and streaming, making it useful for auditing and UI code that needs to determine the full set of users or tokens with a particular permission on a resource. The update aims to address the difficulty in implementing this functionality for users and provide support for the new WatchResources API, which will stream permission changes whenever a relationship is updated in SpiceDB.