How can user automatically get access to all folders above in the path? We are having a request, when user shares a document on Sharepoint server, user can access the document via the link and the folder, but when user navigates to the library root folder, user is not able to navigate manually to that document because he/she doesn't have permission to access folders above. Is there a way to let user to manually navigate to the document that is shared to him, because it really makes hard to users to always search for the links to be able to access the documents.
For example, the document is shared to user: Documents > Folder1 > Folder2 > Document.xslx
User is able to access Document.xslx and Folder2 using the link, but we want to make all the folders in the path visible, so the user can manually navigate to that document. Of course, we want to make only folders visible, but the other content, that user doesn't have any permissions, remains unvisible to the user.
We are using Sharepoint On-premise.