> can I do the action: list all files that a user has view permission on and that file is in some specified folder?
no, you can list all the folders for which the user has view, or you can list all files and check if the user can view the parent folder. if your goal is to list files
directly within a folder as viewable, then you should a readrelationships on the
viewer
relation for that folder