zed
zed copied to clipboard
Official command-line tool for managing SpiceDB
Fixes #469 This introduces a `json` flag to view the compiled schema in json format without the need of a live SpiceDB deployment, also can be written with an additional...
It would be helpful to be able to utilize the CLI to get a json representation of a schema even without a SpiceDB instance available. We are already have the...
If you do `relation: foo with expiration and some_caveat` and run `zed validate`, you get an error message saying "unexpected TokenTypeKeyword" or something to that effect. It'd be nice if...
Didn't fix the workflow while #456 was merged, right now would be failing for every PR
The new `schemaFile` syntax added in #455 is very nice but breaks imports. ``` zed import studio-entitlements-admin-server/src/main/resources/authzed/schema.zed.yaml panic: interface conversion: interface {} is *decode.SchemaRelationships, not *validationfile.ValidationFile goroutine 1 [running]: github.com/authzed/zed/internal/decode.unmarshalAsYAMLOrSchemaWithFile({0x1400016e000,...
I sometimes get this error when importing from a different permission system ``` 9:52AM ERR terminated with errors error="failed to acquire semaphore for batch number 1: context canceled" ``` When...
This is an example of the failure: https://github.com/authzed/zed/actions/runs/12640251291/job/35220286342?pr=447 The runner recently went from 22.04 to 24.04, and that apparently brought this change in behavior. There's some more information below: https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md...
Example: ``` $ zed relationships 9:06PM ERR terminated with errors error="unknown command \"relationships\" for \"zed\"\n\nDid you mean this?\n\trelationship\n" ``` wrapping the error here embeds the `\n\t` formatting and is harder...