antoszka
06/30/2023, 9:02 AMecordell
06/30/2023, 1:35 PMWriteSchema call to sync the schema + a WriteRelationships call with TOUCH updates to ensure the base relationships are there.
And then when the application dynamically reads/writes relationships at runtime, you know that the base relationships are available and will be included in permission computations.
From spicedb's perspective there's no difference between the relationships that your CD pipeline writes and the relationships that your application writes, though we do have a proposal for "static" relationships that could be defined directly in the schema: https://github.com/authzed/spicedb/issues/1266antoszka
07/01/2023, 9:56 AM