Is there a way to hide root ?July 13, 2019 at 5:16pm
is there a way to hide root from the theia app? or prevent the operations on the file like delete?
July 15, 2019 at 7:20am
You can unbind fs commands with the custom contribution. But a user can always use a terminal to perfrom them. If you want really restrict user access, then you should configure user os.
July 15, 2019 at 2:37pm
root file i mean now we can remove files using delete option from theia menu.. like edit-> delete, i want to disable that feature. for terminal ill configure in the os.
i am using docker
sorry not from edit-> delete. we can delete files using right click and delete
Navigator shows what os allows to access. If you restrict OS then the navigator should not show inaccessible files.
to unregister a command, you need to call
CommandRegistry.unregisterCommandwith a proper id. Search into Theia codebase commands using labels from UI and then use their IDs.
July 16, 2019 at 6:46am
This channel has been archived