Joey
11/03/2022, 10:50 PMexport const getServerSideProps = withCapabilities(
withPagePermissionRequired<MyProps>(
async () => {
return {
props: {
status: 200,
}
}
},
(ctx) => Document(ctx.query.doc as string).view
),
(ctx) => Document(ctx.query.doc as string).admin,
)
Joey
11/03/2022, 10:50 PMJoey
11/03/2022, 10:51 PMDocument(doc as string).admin.has(props)
Joey
11/03/2022, 10:51 PMJoey
11/03/2022, 10:55 PMcapabilities
or permission
setraffaelespazzoli
11/04/2022, 12:55 AM--telemetry-ca-override-path string TODO
--telemetry-endpoint string endpoint to which telemetry is reported, empty string to disable (default "https://telemetry.authzed.com")
--telemetry-interval duration approximate period between telemetry reports, minimum 1 minute (default 1h0m0s)
I assume these are traces. What protocol though? Can I assume this is OTEL?Jake
11/04/2022, 1:03 AMraffaelespazzoli
11/04/2022, 1:11 AMraffaelespazzoli
11/04/2022, 1:11 AMsilencer.xyz
11/04/2022, 6:59 AMseeruyy
11/04/2022, 3:04 PMLookupResources
request.
After creation of bunch of relationships I need to check some of them using the LookupResources
endpoint, it returns empty response in case of no resources by query but if there are some resources in SpiceDB the call get stuck forever.
It returns an empty <_MultiThreadedRendezvous object>
there are no code and details and if try to get this data by using methods .code()
.details()
these calls just got stuck.vroldanbet
11/04/2022, 3:27 PMseeruyy
11/04/2022, 3:28 PMauthzed/spicedb:v1.12.0
seeruyy
11/04/2022, 3:29 PMvroldanbet
11/04/2022, 3:32 PMseeruyy
11/04/2022, 3:36 PMvroldanbet
11/04/2022, 3:42 PMseeruyy
11/04/2022, 3:44 PMyetitwo
11/04/2022, 6:48 PMJoey
11/04/2022, 6:49 PMJake
11/04/2022, 6:50 PMyetitwo
11/04/2022, 6:50 PMpquerna
11/04/2022, 9:35 PMJoey
11/04/2022, 9:57 PMWatchResources
proposal: https://github.com/authzed/spicedb/issues/207Joey
11/04/2022, 9:57 PMJoey
11/04/2022, 9:57 PMpquerna
11/04/2022, 10:03 PMJoey
11/04/2022, 10:05 PMJoey
11/04/2022, 10:05 PMSteve Lillis
11/06/2022, 10:05 AM