`PERMISSIONS_VIEW_DYNAMIC_INHERITANCE` does NOT mean that if you can see a parent folder, you automatically gain VIEW on subfolders.

What it means is that you MUST have VIEW on every parent in order to VIEW _this_ folder.

If we only needed to check the root folder, why would we need to loop at all? Why not simple check permissions on `folderId == DEFAULT_PARENT_FOLDER_ID` and `folder.getFolderId()`?