SpiceDB v1.49.0 (released just a few days ago) has included support for the self relation on resources. When attempting to use that relation in a schema definition, the latest released version of zed-cli (v0.34.1) throws the following error on validation and import:
parse error in ``, line 1, column 9: Unknown use flag: `self`. Options are: expiration
The schema upon which the zed-cli is operating is included below:
use self
definition user {
permission edit = self
}
This issue is probably already on the radar and will most likely be resolved by the next release of the zed cli but I wanted to make sure it was tracked and that people had a place to receive updates.