tony
10/26/2021, 8:02 PMJoey
10/26/2021, 8:02 PMJoey
10/26/2021, 8:02 PMJoey
10/26/2021, 8:03 PMJoey
10/26/2021, 8:03 PMtony
10/26/2021, 8:03 PMtony
10/26/2021, 8:03 PMJoey
10/26/2021, 8:04 PMzed
, so you can do zed import filename.yaml
and it'll load everything into a SpiceDBJoey
10/26/2021, 8:04 PMJoey
10/26/2021, 8:04 PMJoey
10/26/2021, 8:04 PMJoey
10/26/2021, 8:05 PM--datastore-bootstrap-files=path/to/file.yaml
Joey
10/26/2021, 8:05 PMJoey
10/26/2021, 8:08 PMJoey
10/26/2021, 8:08 PMJoey
10/26/2021, 8:08 PMJoey
10/26/2021, 8:08 PMJoey
10/26/2021, 8:14 PMtony
10/26/2021, 8:14 PMzed export
from an instance?
The use case I'm thinking of is that our QA team sets up data for different use cases in a "permanent staging" instance. When we open a PR we start with an environment pre-loaded with a bunch of these test accounts for different use cases and we can test a feature by logging in from the point of view of different users with different access levels.
If possible, it'd be nice if the QA team can keep adding different use cases on the "permanent staging" instance. Opening a new PR environment comes pre-loaded with both the test application data and SpiceDB relationships required to enable access.Joey
10/26/2021, 8:15 PMzed schema copy
for schemaJoey
10/26/2021, 8:15 PMzed relationships copy
, but it would be fairly simple to addJoey
10/26/2021, 8:15 PMtony
10/26/2021, 8:15 PMJoey
10/26/2021, 8:16 PMzed export
to the file formatJoey
10/26/2021, 8:16 PMJoey
10/26/2021, 8:16 PMtony
10/26/2021, 8:30 PMecordell
10/26/2021, 8:36 PMJoey
10/26/2021, 8:37 PMbracki
10/27/2021, 8:49 AM