-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Is your feature request related to a problem? Please describe
Sharing a workspace, comes with a huge security flaw, because you also share your git credentials, and secrets stored in your user account.
Describe the behaviour you'd like
When a workspace is shared, the commands gp env
(access to user variables) and gp credential-helper
(access to git credentials) should be disabled.
That way sharing a workspace with others becomes safe! Users I share the workspace with, can make changes in that specific workspace (that's what I specifically allowed when clicking "Share Workspace"), but they don't have access to my permissions or secrets. They can no longer access my other repos or information that I don't want to share.
Describe alternatives you've considered
My poor man's hack that I use until this feature is officially implemented, a script that removes the credential.helper
line from ~/.gitconfig https://github.com/shaal/DrupalPod/pull/46/files#diff-6ed300724c7e75fd4724d06dd9f6d386c13c69e35037f3807aea78811235bafaR6