# spicedb


01/15/2022, 1:44 AM
Yes, the list of writable documents was what I need. In the code, I was trying to build a document hierarchy in a tree manner. Firstly, I created a binary tree and I assigned write permission to the very top node, all descendants inherit permission from the top. Secondly, I tried to look up permitted nodes against the whole tree. This is an extreme case in my product, which is currently running with around 40 millions of documents…