Fingineering
04/22/2025, 12:09 PMzed relationship create
an then check permissions zed permission check
it takes approx 5 - 10 sec until I get HAS_PERMISSION.
The behaviour I would like to observe is that it takes something close to a second at best even less.
I think I understood that it has to do with the hotspot caching and the quantization intervals. But I don't get which parameter I have to set, to make it work "faster"?
Thanks for helpful hints!vroldanbet
04/22/2025, 12:49 PMzed relationship create
and pass it to zed permission check
vroldanbet
04/22/2025, 12:50 PMFingineering
04/22/2025, 2:01 PMyetitwo
04/22/2025, 2:48 PMpy
resp = await maybe_await(
client.CheckPermission(
CheckPermissionRequest(
resource=post_one,
permission="view",
subject=emilia,
consistency=Consistency(at_least_as_fresh=ZedToken(token="some_token")),
)
)
)
yetitwo
04/22/2025, 2:48 PMFingineering
04/22/2025, 2:49 PM