I need to create a folder/file structure using neo4j. I have developed a product which is similar to box.com. we called it content locker. Users can stream media and view pdf files. However, the new requirement is to show them folder and files to the user in the dashboard. They can create a new folder and can upload files there. Currently, there 3 roles and one group. Admin can see all user files. In the next release, I have to show all the folder/files other users have. I also check their permission. not sure how to handle permission at the folder level.
It would be great if anyone can give me an example of a directory/file structure and how to query it.