Jake
10/14/2022, 1:21 AMcompose-spicedb-1 | {"level":"error","module":"pgx","args":["resource","alerts","reader","role","readonly","member","resource","views","reader","role","readonly","member"],"err":"ERROR: duplicate key value violates unique constraint \"uq_relation_tuple_living_xid\" (SQLSTATE 23505)","pid":86,"sql":"INSERT INTO relation_tuple (namespace,object_id,relation,userset_namespace,userset_object_id,userset_relation) VALUES ($1,$2,$3,$4,$5,$6),($7,$8,$9,$10,$11,$12)","time":0.718452,"time":"2022-10-14T00:56:57Z","message":"Exec"}
symion
10/14/2022, 1:22 AMJake
10/14/2022, 1:23 AMJake
10/14/2022, 1:23 AMcompose-spicedb-1 | {"level":"debug","module":"pgx","args":[],"pid":86,"rowCount":1,"sql":"INSERT INTO relation_tuple_transaction DEFAULT VALUES RETURNING xid","time":0.442488,"time":"2022-10-14T00:56:57Z","message":"Query"}
Jake
10/14/2022, 1:23 AMsymion
10/14/2022, 1:26 AMwilliamdclt
10/14/2022, 12:31 PMJake
10/14/2022, 12:31 PMJake
10/14/2022, 12:33 PMJake
10/14/2022, 12:35 PMwilliamdclt
10/14/2022, 1:11 PMniodice
10/14/2022, 6:11 PMdefinition user {
permission user_can_view_some_private_info = this // "this" could be replaced with "self" or something that points back to the user doc
}
I know I can set a relation self: user
but it feels like there may be a built-in way to do this without needing to set that relationship?Joey
10/14/2022, 6:12 PMniodice
10/14/2022, 6:16 PMJoey
10/14/2022, 6:17 PMsymion
10/14/2022, 10:07 PMsymion
10/14/2022, 10:07 PMsymion
10/14/2022, 10:08 PMJake
10/14/2022, 10:09 PMSingha1
10/15/2022, 8:59 AMSingha1
10/15/2022, 9:41 AMsymion
10/15/2022, 12:48 PMJoey
10/15/2022, 5:59 PMSingha1
10/15/2022, 6:35 PMSingha1
10/15/2022, 6:35 PMUnhinged
10/17/2022, 9:44 AMraffaelespazzoli
10/17/2022, 5:19 PM{"level":"debug","datastoreReady":true,"dispatchReady":true,"time":"2022-10-17T17:14:38Z","message":"completed dispatcher and datastore readiness checks"}
{"level":"info","grpc.component":"server","grpc.method":"Check","grpc.method_type":"unary","grpc.service":"grpc.health.v1.Health","peer.address":"[::1]:56680","protocol":"grpc","requestID":"029dcbed3eb352a21117e9de95e9e401","grpc.request.deadline":"2022-10-17T17:14:39Z","grpc.start_time":"2022-10-17T17:14:38Z","grpc.code":"OK","grpc.time_ms":"0.015","time":"2022-10-17T17:14:38Z","message":"started call"}
a bunch of these and then ...
{"level":"info","time":"2022-10-17T17:16:27Z","message":"received interrupt"}
{"level":"info","time":"2022-10-17T17:16:27Z","message":"shutting down"}
{"level":"warn","error":"context canceled","time":"2022-10-17T17:16:27Z","message":"completed shutdown of postgres datastore"}
{"level":"info","addr":":50051","network":"tcp","prefix":"grpc","time":"2022-10-17T17:16:27Z","message":"grpc server stopped listening"}
{"level":"info","addr":":8080","prefix":"dashboard","time":"2022-10-17T17:16:27Z","message":"http server stopped serving"}
{"level":"info","addr":":9090","prefix":"metrics","time":"2022-10-17T17:16:27Z","message":"http server stopped serving"}
{"level":"info","addr":":50053","network":"tcp","prefix":"dispatch-cluster","time":"2022-10-17T17:16:27Z","message":"grpc server stopped listening"}
raffaelespazzoli
10/17/2022, 5:33 PMYou need to a certificate with name service-name.namespace in order to connect with TLS to your services.
this is bad, I can's generate such certificate...ecordell
10/17/2022, 5:34 PMJake
10/17/2022, 5:38 PM