Restrict filesystem permissions on each user from theia terminal view

Hi,

All user can access all directory of theia filesystem with theia terminal view.
But I want to show only directories that can be accessed by each user to the terminal.

For example, A user can access only $HOME/A/… directory and B user can access $HOME/B/… folder directory on Terminal View.

If you have any idea, please reply to my topic.
It’ll helpful for me.

Thanks.