lostintangent / gatekeeper

VS Code extension to automatically block unwanted Live Share guests
8 stars 3 forks source link

Add initial support for policy file and "restricted sharing" #6

Closed lostintangent closed 4 years ago

lostintangent commented 4 years ago

This PR fixes #4 and #5, by introducing two product enhancements:

  1. Disallows sharing your workspace when a set of allowed domains are configured, and you're signed in with an identity that isn't in that list

  2. Allows you to configure the set of allowed domains in a central policy file ($HOME/liveshare-policy.json) in addition to the existing VS Code setting