Skip to content

VS Code SAS Extension - all files/folders visible, even ones without access #1807

@jmacs203

Description

@jmacs203

Describe the bug

When using the SAS Extension for VS Code, the files and folders for the user's NFS mount shows ALL the files and folders, even the ones the user doesn't have access to. This could be viewed as a security risk.
In the same environment, in SAS Studio, the user can only see their files and folders and not the ones they don't have access to.

Steps to reproduce

  1. Using VS Code with the SAS Extension, check under "SAS Server" and you will see files/folders the user doesn't have access to

  2. In SAS Studio, the user will only see the files/folders they have access to.

  3. The way to restrict the user from accessing the folders is to change the "fileNavigationRoot" to CUSTOM in SAS Environment Manager, and set the fileNavigationCustomRootPath to be the path for the NFS mount/SAS Server.

(Please reach out to @jmacs203 or @scottdover to see the screenshots from SAS Studio and VS Code using the SAS Extension.)

SAS code (if applicable)

Expected behavior

No response

Screenshots

No response

Client OS

No response

Extension version

1.18.0

SAS version

2025.12 Stable

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions