Joseph Schorr

Results 278 comments of Joseph Schorr
trafficstars

You could have a `.zed` file that just imported a bunch of schema files and had tests, yes (or import a file with just tests)

See also https://github.com/authzed/spicedb/issues/224

@enriquedacostacambio Unless I'm misunderstanding, that won't work. Consider: File 1: ``` definition user {} definition organization { relation admin: user permission can_admin = admin } ``` File 2: ``` from...

@enriquedacostacambio The downside of the above approach is that it breaks the ownership: the team supervising `organization` should be in charge of how `can_admin` is defined; that's why using an...

@enriquedacostacambio What is your concern around imports? As @amadard mentioned, the schema will have to be combined before written, so having explicitly dependencies should reflect the actual result

@enriquedacostacambio That's actually why the proposal supports git-based imports: ``` from github.com/mycomp/myauthzteam@v2 import user ``` That way, you can define your import based on another repository entirely (and properly versioned)

@imacks The biggest open question is handling of zedtokens and "full consistency": if a zedtoken is provided, or full consistency is required, SpiceDB is required to honor that request by...

Yeah, strong consistency will only be required when requested by the client. If the ZedToken's requirements are already met by the eventual consistency at the time of the call, or...

@imacks any progress? Quite curious :)