Skip to content

zed cli doesn't yet support validation or import on schemas containing use self or the self relation #623

@joshua-smith4

Description

@joshua-smith4

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions