authzed / spicedb

Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications
https://authzed.com/docs
Apache License 2.0
4.71k stars 250 forks source link

enriches postgres revisions with txID and timestamp #1951

Closed vroldanbet closed 5 days ago

vroldanbet commented 1 week ago

consumers of the Datastore Watch API may want to access the postgres transaction of a revision, and the recorded timestamp.

Since we don't want to load it in every call sites for performance reasons, a revision may be in a partial state, thus it should be retrieved via the accessor methods.