Skip to content

Limit directory navigation for UX #1834

Closed
@IsabellaRO

Description

@IsabellaRO

Hello,

I would like to suggest a feature that would help me a lot in a project that I am developing with Code Server and I think it could help some other people too.

Basically, I am running Code Server in my laptop and accessing it through Chromium in some Raspberry Pi's.
I am already specifying a directory path when running the code server command, but in the Raspberry Pi's I can access some previous directories by clicking in "Open Folder" and typing ".." in the navigation bar of the VSCode, as you can see in the pictures below .

When I click in "Open Folder":
"open folder"

When I type ".." in the navigation bar:
"navigating"

I would like to limit this navigation so the Raspberry Pi's can access only the specified directory or the posterior ones (the directories inside the specified directory). This specification could be through command line or the way you find it easier to implement.

Some infos that maybe will help:
I am running code server in Ubuntu 18.04 with this command:
console code-server / home / teacher / SOMAS / --auth none

I am accessing code server via Chromium in a Raspbian OS, but the same happens if I access it through Google Chrome in another laptop with Ubuntu 18.04.

If you need any further information, please let me know.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSome improvement that isn't a feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions