trichner
05/03/2022, 3:56 PMtrichner
05/03/2022, 3:57 PMtrichner
05/03/2022, 3:59 PMcjs
05/03/2022, 5:37 PMOTEL_EXPORTER_OTLP_INSECURE
or OTEL_EXPORTER_OTLP_TRACES_INSECURE
)?liammoch
05/03/2022, 5:56 PMjzelinskie
05/03/2022, 6:55 PMJoey
05/03/2022, 7:37 PMminimize latency
, then you're asking SpiceDB to choose a revision to useJoey
05/03/2022, 7:37 PMJoey
05/03/2022, 7:37 PM4
, but the last cache was at revision 3
, then the cache won't be usedJoey
05/03/2022, 7:37 PMcjs
05/03/2022, 9:59 PMWithInsecure
with the others, and I agree that this should be done via env var instead of a default. This would prevent SpiceDB users from configuring otelgrpc with TLS. https://github.com/jzelinskie/cobrautil/blob/855a6821f7f0bb9ccbb997f2a6f854ac6ca4d0c2/otel.go#L101-L110jzelinskie
05/03/2022, 10:15 PMLarsRan
05/04/2022, 7:30 AMdefinition user {}
definition root {
relation video_flagger: user
}
definition video {
relation root: root
relation viewer: user
permission view = viewer
permission flag = viewer & root->video_flagger
}
I have the feeling that it should work but it feels weird to make a singleton resource type just for global permissions. Is this a good idea, why or why not?williamdclt
05/04/2022, 8:50 AMplatform
rather than root
but same thing). I don't think there's a problem with it, and I think I read about this technique somewhere, maybe authzed blogliammoch
05/04/2022, 5:07 PMliammoch
05/04/2022, 5:08 PMliammoch
05/04/2022, 5:10 PMJoey
05/04/2022, 5:10 PMJoey
05/04/2022, 5:11 PMliammoch
05/04/2022, 5:11 PMJoey
05/04/2022, 5:11 PMliammoch
05/04/2022, 5:13 PMliammoch
05/04/2022, 5:14 PMJake
05/04/2022, 5:15 PMJake
05/04/2022, 5:15 PMJake
05/04/2022, 5:16 PMliammoch
05/04/2022, 5:17 PMJake
05/04/2022, 5:17 PMliammoch
05/04/2022, 5:18 PMliammoch
05/04/2022, 5:19 PM