Joey
01/31/2022, 8:18 PMJoey
01/31/2022, 9:21 PMCheck
on each resultCola
01/31/2022, 10:06 PMadampwells
02/01/2022, 4:48 AMbrew install authzed/tap/spicedb
, and then I ran the migrations using the following command spicedb migrate head --datastore-engine postgres --datastore-conn-uri "postgres://spicedb:spicedb@localhost:5432/spicedb?sslmode=disable"
, and then I started it using spicedb serve --grpc-preshared-key a4a01703-dc9c-4dc9-826c-83b3b8b4ce28 --datastore-engine postgres --datastore-conn-uri "postgres://spicedb:spicedb@localhost:5432/spicedb?sslmode=disable"
adampwells
02/01/2022, 4:49 AMFailedPrecondition desc = failed precondition: object definition `blog/post` not found
adampwells
02/01/2022, 4:50 AMzed permission check blog/post:1 read blog/user:emilia --insecure
adampwells
02/01/2022, 4:53 AMJoey
02/01/2022, 4:53 AMJoey
02/01/2022, 4:53 AMadampwells
02/01/2022, 4:54 AMadampwells
02/01/2022, 4:54 AMJoey
02/01/2022, 4:56 AMadampwells
02/01/2022, 4:56 AMadampwells
02/01/2022, 4:57 AMzed schema read --insecure
2:56PM WRN error reading dispatched operations trailer error="key `io.spicedb.respmeta.dispatchedoperationscount` not found in trailer"
2:56PM WRN error reading cached operations trailer error="key `io.spicedb.respmeta.cachedoperationscount` not found in trailer"
definition blog/user {}
definition blog/post {
relation reader: blog/user
relation writer: blog/user
permission read = reader + writer
permission write = writer
}
adampwells
02/01/2022, 4:58 AMJoey
02/01/2022, 4:58 AMJoey
02/01/2022, 4:59 AMadampwells
02/01/2022, 4:59 AMJoey
02/01/2022, 5:01 AMJoey
02/01/2022, 5:02 AMJoey
02/01/2022, 5:02 AMJoey
02/01/2022, 5:03 AMadampwells
02/01/2022, 5:03 AMadampwells
02/01/2022, 5:05 AMJoey
02/01/2022, 5:05 AMJoey
02/01/2022, 5:05 AMadampwells
02/01/2022, 5:07 AMJoey
02/01/2022, 5:07 AMJonathan Whitaker
02/01/2022, 5:26 PM