Is there a way to fetch the home directory from the front-end browser? Also, is there a way to check whether the current URI path is in the home directory?
The reason I want the above info is because, I want to restrict some functionalities if the user’s current URI path is outside of the home directory and we know that, Theia access the entire underlying OS workspace including directories like /etc
Any help here would be highly appreciated!! Thanks in advance!!