Authzed prod workflow?
# spicedb
b
Is the general prod workflow for authzed something like this? 1. Develop a schema and assertions, commit to repo (authzed_schema.yaml) 2. Run zed validate in CI 3. Bootstrap schema by reading authzed_schema.yaml and write relations (once) 4. Change the schema in repo 5. write code to apply new schema and migrate relations as we change the schema
j
more or less, yes
b
Great, and in step 5, I'm guessing much like with db migrations we have to try and do zero-downtime schema changes? Like add new relations/data, avoid deleting relations, etc.
j
the system won't allow you to apply schema updates that are breaking
if you want to remove a relation, you need to delete all data it references first
4 Views