Joey
09/06/2022, 5:12 PMJoey
09/06/2022, 5:12 PMAndy
09/06/2022, 5:13 PMJoey
09/06/2022, 5:16 PMJoey
09/06/2022, 5:16 PMJoey
09/06/2022, 5:17 PMJoey
09/06/2022, 5:17 PMJoey
09/06/2022, 5:17 PMTOUCH
instead of CREATE
Andy
09/06/2022, 5:19 PMJoey
09/06/2022, 5:19 PMJoey
09/06/2022, 5:20 PMWriteRelationships
to CREATE
a relationship that already exists, it should failJoey
09/06/2022, 5:20 PMJoey
09/06/2022, 5:20 PMCREATE
is: only create this relationship if it doesn't already exist, otherwise failJoey
09/06/2022, 5:20 PMTOUCH
is: create the relationship if it does not exist, otherwise no-opAndy
09/06/2022, 5:20 PMJoey
09/06/2022, 5:21 PMJoey
09/06/2022, 5:21 PMJoey
09/06/2022, 5:21 PMAndy
09/06/2022, 5:24 PMAndy
09/06/2022, 5:24 PMJoey
09/06/2022, 5:25 PMAndy
09/06/2022, 5:25 PMLanny
09/06/2022, 6:27 PMjzelinskie
09/06/2022, 6:29 PMjzelinskie
09/06/2022, 6:29 PMbqhr
09/06/2022, 11:18 PMjzelinskie
09/06/2022, 11:27 PMfilth
09/07/2022, 12:04 PMfilth
09/07/2022, 12:07 PMvroldanbet
09/07/2022, 12:28 PMLookupResources
which lists all the resources the user has access to. It's a streaming RPC method.
When it comes to denormalizing that information into a different system, for that you would need the upcoming LookupWatch
API, which provides a streaming API of changes so that other systems (like search indexes) can keep a copy.
More info at https://github.com/authzed/spicedb/issues/207