09/21/2021, 6:34 PM
hey 👋 I'm curious about how creation of new objects and zookies work. If I had to update a document in Google Drive type system, I would do what you mention on the docs:
def write_content(user, content_id, new_content):
    is_allowed, zookie = content_change_check(content_id, user)
    if is_allowed:
        storage.write_content(contentd_id, new_content, zookie)
        return success
    return forbidden
But how would I retrieve the zookie for a new document if I don't yet have the
? And how would I know if the user has access to write the content? Would I check if the user has access to the folder/account?