`zed validate` can run assertions
# spicedb
j
zed validate
can run assertions locally
k
Like with separate files for my schema and assertions?
Or only in the format like what I get when I export from playground?
j
currently only in that format
k
Got it, thanks!
y
@kabielake we wrote a script that `cat`s the schema into a validation file so that we can maintain them separately
i can share if that'd be helpful
k
That would be very helpful, thank you!
it's slightly more complicated than it needs to be because we built it with CI in midn
but i don't think it's too jank
j
we likely will support two distinct files as an inteirm solution soon
k
Am I correct in assuming that determining implied permission to an object needs to be handled programmatically and can not currently be defined in the schema? Like if I have a resource that users can have
read
permission to, and I want a users with that permission to be able to read other users with the
read
permission to that resource
j
you'd need to write a relationship between the two users in some manner
k
Got it, thank you!
14 Views