you'd need to know the depth of the hierarchy from...
# spicedb
y
you'd need to know the depth of the hierarchy from the outside and write that logic into caveats