Joey
02/15/2022, 3:11 AMCheckPermission
for document:somedoc#view
and document:somedoc#write
, then SpiceDB will be dispatching the subproblems of checking document:somedoc#reader
and document:somedoc#writer
. Those will be cached, so when you check for both, the system will only calculate each once (assuming the same user, and the CheckPermission calls being close together)