victorious-flower-6317111/22/2021, 12:59 PM
I find that this is quite inefficient with the calls, as it creates quite a lot of calls for a single object. Is there a way to optimize it by doing a bulk check that would return as soon as there is 1 allowed ? Or maybe I'm missing something else ?
// z is parent of y which is parent of x storage:z#read@user // if allowed, stop here, else continue bucket:y#read@user // same object:x#read@user // if still not allowed here, then the user is not allowed on this object