Joseph Schorr

Results 289 comments of Joseph Schorr

Related: https://github.com/authzed/spicedb/issues/439

Another possible syntax: ``` definition user {} definition folder { relation viewer: user } definition document { relation parent: folder permission view = parent.any(viewer) + parent.all(viewer) } ``` The `parent.any(viewer)`...

@pathing #777 was an internal-only change for performance improvements. There is no externally available bulk checking API as of right now

Since you guys have taken over `protoc-gen-validate` now (as per https://twitter.com/mattklein123/status/1576971951394164736), perhaps this can be special cased now? :)

One open question: Should we still try to close out the `setBuf` channel post `Close`, perhaps in a goroutine, for full cleanup?

I can't see the TeamCity build results (no access), but `go test ./...` passes locally, for reference.

D'oh... I forgot the race detector doesn't run automatically. Will address now.

@danielmai So looking more deeply, the race is more or less the "expected behavior" on that variable, which is why I keep a local copy. I can easily fix this...

@manishrjain Thoughts on the use of a lock vs, say, a compare and swap? In terms of timing, we're trying to decide whether to have SpiceDB make use of my...

As an note, SpiceDB now supports caveats (https://authzed.com/blog/caveats/) for ABAC-like computation to compliment policies