-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Permission System in VS Code Extensions #187386
Comments
Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue. Happy Coding! |
information provided @sandy081 |
Thanks for opening this request, however closing this as a duplicate of #52116 since I feel like most of this is already covered by that issue. Thank you |
Description:
Currently, the Visual Studio Code (VS Code) extension ecosystem lacks a robust permission system similar to the one found in Android applications. This feature is crucial for maintaining user privacy and ensuring secure access to sensitive resources by extensions.
Android provides a comprehensive permission system (https://developer.android.com/guide/topics/permissions/overview) that enables users to grant or deny permissions to applications based on their needs. Implementing a similar permission system for VS Code extensions would greatly enhance the overall security and user control within the platform.
Proposal:
Define a permission model: Create a standardized set of permissions that cover various extension capabilities and resources. This model should consider both basic permissions (e.g., read/write access to files, network access) and potentially more advanced permissions (e.g., access to user settings, workspace information).
Permission declaration: Provide a mechanism for extension developers to declare the permissions required by their extensions in the extension manifest file. This declaration should clearly state the purpose and scope of each permission.
User consent and control: Introduce a user interface within VS Code that allows users to review and manage the permissions requested by each installed extension. Users should have the ability to grant or revoke permissions at any time.
Permission enforcement: Ensure that extensions can only access resources and perform actions for which they have been granted permission. Implement mechanisms to prevent extensions from accessing unauthorized resources or performing potentially harmful operations.
Benefits:
This issue aims to start a discussion and gather feedback on the implementation of a permission system for VS Code extensions. It is crucial to ensure the widespread adoption of this feature by extension developers, maintainers, and the VS Code community as a whole.
The text was updated successfully, but these errors were encountered: