Rocio09/21/2021, 6:34 PM
But how would I retrieve the zookie for a new document if I don't yet have the
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
? 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?