Why does GitHub Copilot need read/write access to private repositories? #106551
Replies: 21 comments 15 replies
-
|
Edit - I think this is the relevant GitHub issue: microsoft/vscode-copilot-release#813 For anyone looking for a workaround for Copilot (not chat), I installed the older version (1.156.0) of the GitHub Copilot extension and it works again without asking for these new permissions. You can also install an older version of the GitHub Copilot Chat extension to get it to stop bugging you, but it seems that it's broken - I don't want to use it anyway, but you can't install one without the other. The only information I can find is in the VS Code 1.86 notes, where it says "To enable additional workspace search features for private repositories, we require additional permissions." I don't understand what that means, or what that feature is supposed to do, but it seems like this extension is now asking for basically every possible permission when previously it just needed my email address. I agree with what @ayaankazerouni said above about granting full permissions to repos I don't even own, or my company's repos. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
I'm still running into this issue while trying to install GitHub Copilot v1.194.0. I didn't have this problem installing the GitHub Copilot extension for WebStorm, so I've switched to WebStorm. |
Beta Was this translation helpful? Give feedback.
-
|
did they fixed this with free base plan upgrade? |
Beta Was this translation helpful? Give feedback.
-
|
Having this issue on Insiders build: I don't want to grant such level of permissions (and actually I don't need any AI on GitHub side, just with local code). But popup appear again and again. |
Beta Was this translation helpful? Give feedback.
-
|
I'm part of some organizations for which I'm contractually bound not to install tools like this. So, because this is asking for full control of all my repos and all repos of organizations I have access to, I can't install this. I just want to try it out on my public or personal-private repos, 🤷. |
Beta Was this translation helpful? Give feedback.
-
|
Sadly now I don't want to use Copilot any more because of this. I don't want Copilot to have these kinds of permissions, that is just nuts. |
Beta Was this translation helpful? Give feedback.
-
|
Hi All, Thank you for your ongoing feedback regarding GitHub Copilot permissions. We understand the concerns raised about Copilot requesting read/write access to private repositories. Why These Permissions Are RequestedCopilot's enhanced workspace search capabilities for private repositories require these permissions to provide context-aware suggestions. These features help Copilot understand your codebase more deeply, resulting in more tailored and relevant suggestions. Important Clarifications
Improvements We're MakingBased on your feedback, we're working on:
We value your privacy and security concerns, and we're committed to making Copilot both powerful and respectful of your data boundaries. Thank you for helping us improve. For more detailed information, please visit our documentation on Copilot privacy and permissions. |
Beta Was this translation helpful? Give feedback.
-
|
There is a huge disconnect here. The problem is we do NOT want "context-aware suggestions" on ALL our private repos. We want "context-aware suggestions" on SOME repositories, not ALL repositories.
Your email sounds like you think we want copilot features without providing access to copilot. NO ONE asked for that. What we want is the ability to use copilot on the repos where we CAN/DO WANT, and to NOT use it on the ones where we CANNOT/DO NOT WANT copilot.
How is that hard to understand?
You state: "Copilot's enhanced workspace search capabilities for private repositories require these permissions to provide context-aware suggestions. These features help Copilot understand your codebase more deeply, resulting in more tailored and relevant suggestions."
…________________________________
From: Akash ***@***.***>
Sent: Thursday, April 24, 2025 6:07:53 AM
To: community/community ***@***.***>
Cc: David (Coz) Smith ***@***.***>; Manual ***@***.***>
Subject: Re: [community/community] Why does GitHub Copilot need read/write access to private repositories? (Discussion #106551)
Hi All,
Thank you for your ongoing feedback regarding GitHub Copilot permissions. We understand the concerns raised about Copilot requesting read/write access to private repositories.
Why These Permissions Are Requested
Copilot's enhanced workspace search capabilities for private repositories require these permissions to provide context-aware suggestions. These features help Copilot understand your codebase more deeply, resulting in more tailored and relevant suggestions.
Important Clarifications
1. Limited Usage: While the permission request appears broad, Copilot only accesses repositories you're actively working with in VS Code.
2. Data Privacy: Repository content accessed via these permissions is not used to train the underlying Copilot models. It's only used to provide you with contextual suggestions during your current session.
3. Alternative Options:
* Users who prefer not to grant these permissions can still use Copilot with reduced functionality
* Organization administrators can control which repositories are accessible to Copilot through organization settings
Improvements We're Making
Based on your feedback, we're working on:
* More granular permission options to allow selection of specific repositories
* Clearer documentation explaining exactly how these permissions are used
* Organization-level controls for administrators to manage Copilot access
We value your privacy and security concerns, and we're committed to making Copilot both powerful and respectful of your data boundaries. Thank you for helping us improve.
For more detailed information, please visit our documentation on Copilot privacy and permissions<https://docs.github.com/en/copilot/overview-of-github-copilot/about-github-copilot-telemetry>.
—
Reply to this email directly, view it on GitHub<#106551 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGCE2AJM7MZLCSGBCD3EVOT23DHZBAVCNFSM6AAAAABUAYCHP2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOJTGQ2TSNA>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
-
|
Iook at all of the things you are asking to view and MANAGE! Why do you
need to manage or write access to anything??? Organisation's attributes,
resources, and projects?? Why do you need any right on an entire
organizational level? People are done being pushed around and forced to
agree to these outlandish terms and being forced to give up rights. I think
you all are forgetting that you are the ones trying to sell something and
we are the buyers with all of the rights which you are trying to sell your
product to. If we don't buy them you don't exist and code will continue to
be written with or without your product. This small print "gotcha" hour
long terms and conditions with sketchy cluases throughout is waaaaay out of
hand and I for one will no longer be agreeing to anything that's so lengthy
I refuse to read.
…On Mon, May 5, 2025, 11:40 AM Moo ***@***.***> wrote:
What bothers me more is *the write access* why does Copilot need to write
anything to my/org repos ??
—
Reply to this email directly, view it on GitHub
<#106551 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BHZFCXD3MAK5U6UNJX73CUT246A7HAVCNFSM6AAAAABUAYCHP2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMBUGEYTQMI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Any idea of how many people who do this for a living that spent countless
hours learning that have been or about to be put out of a job because of
products just like this? Products that were trained on data scraped from
them without their permission and will continue to be trained on data from
anyone who does or does not agree to these terms? That's not enough
though, now you are asking legal permission after the fact to view while
asking them to pay you to do it? Do you know how insane that is? That's
what's happening here.
On Wed, May 7, 2025, 11:50 AM Jay Wilkinson ***@***.***>
wrote:
… Iook at all of the things you are asking to view and MANAGE! Why do you
need to manage or write access to anything??? Organisation's attributes,
resources, and projects?? Why do you need any right on an entire
organizational level? People are done being pushed around and forced to
agree to these outlandish terms and being forced to give up rights. I think
you all are forgetting that you are the ones trying to sell something and
we are the buyers with all of the rights which you are trying to sell your
product to. If we don't buy them you don't exist and code will continue to
be written with or without your product. This small print "gotcha" hour
long terms and conditions with sketchy cluases throughout is waaaaay out of
hand and I for one will no longer be agreeing to anything that's so lengthy
I refuse to read.
On Mon, May 5, 2025, 11:40 AM Moo ***@***.***> wrote:
> What bothers me more is *the write access* why does Copilot need to
> write anything to my/org repos ??
>
> —
> Reply to this email directly, view it on GitHub
> <#106551 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BHZFCXD3MAK5U6UNJX73CUT246A7HAVCNFSM6AAAAABUAYCHP2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMBUGEYTQMI>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***
> com>
>
|
Beta Was this translation helpful? Give feedback.
-
|
I have an idea: Microsoft should in turn give us all permission into all Microsoft private repositories.
We can even promise not to actually use the access - just give us permission to do it if we wanted to, and we'll all promise not to.
…________________________________
From: Ayaan Kazerouni ***@***.***>
Sent: Tuesday, May 27, 2025 3:09:19 PM
To: community/community ***@***.***>
Cc: David (Coz) Smith ***@***.***>; Manual ***@***.***>
Subject: Re: [community/community] Why does GitHub Copilot need read/write access to private repositories? (Discussion #106551)
Thanks for those clarifications @Akash1134<https://github.com/Akash1134>. I would appreciate an update when there are more granular organization-level controls.
While the permission request appears broad, Copilot only accesses repositories you're actively working with in VS Code.
That is good to know, but that can't really be how Terms of Service work. It is not sufficient to say "enter an agreement that protects us from wrongdoing, and it'll be okay because we promise not to do anything wrong".
—
Reply to this email directly, view it on GitHub<#106551 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGCE2AJCUV55UU5NCZCEY4L3ATH77AVCNFSM6AAAAABUAYCHP2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMRYHA3TQNQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
How to disable this prompt in copilot chat?! I click "Never ask me again" all the time. It popup almost every single time. Wtf. Do copilot try to brute force it?
|
Beta Was this translation helpful? Give feedback.
-
|
I am not using using Copilot in VS Code (or in any other editor) because if this, the permissions the extension wants is ridiculous. If I want to allow Copilot to access a specific repository I should be able to grant that permission on a per-repository basis, with options for "read" and "read-write", when needed On a more positive note Copilot has not asked for full administrative access, not yet at least |
Beta Was this translation helpful? Give feedback.
-
|
I made a secondary empty github account just because of this. And guess what: the extension still works perfectly fine without any access to repositories and settings. It's absolutely insane that in order to use copilot chat, i need to give it full control over my account, all repositories, settings, and whatnot. Even if there are features that require this, users should be able to decide what permissions they want to give. To be honest i wouldn't even give it read permission to repositories/settings. The files are already on my computer. Why would it need to access the remote repository to suggest a completion, or answer a question? |
Beta Was this translation helpful? Give feedback.
-
|
Why does it need permissions like deploy keys if all it needs is context. Other copilot extensions do not request these kind of permissions. |
Beta Was this translation helpful? Give feedback.
-
|
Same here. I just created a dummy account on github with no access to anything, because this all "we only need to understand your repo structure" tales are good till they have first major data breach, and all private repose end up being in public access. Also, half of that stuff is not mine, and neither I want to be liable for it. Moreover, we've looked through org settings - and there is no way to deny copilot access from the organization settings page. This is super unfriendly, but.. it is what it is. Creating dummy github account only takes few minutes. |
Beta Was this translation helpful? Give feedback.
-
|
Why does GitHub Copilot need all these god-like permissions to read/write all my private repos, organizations I'm involved with, my build pipelines? It doesn't make sense. The popular Nx build tools got hit, back in August, by malware that used AI tools to rename GitHub repos and make private repos public. There's got to be a better way to do this. Creating a separate GitHub account with no repos or organizations isn't really the right answer. |
Beta Was this translation helpful? Give feedback.
-
|
An workaround to this might like:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hello! I'm seeing the following authentication pop-up in VSCode for GitHub Copilot Chat, which is an extension pack that appears to have GitHub Copilot as its only extension. I've had Copilot installed, but I haven't seen this pop up before, so I assume it's part of a recent update.
If I click "Allow", I am taken to the following authentication screen, where I am asked to provide read and write access to public and private repositories owned by me or the organizations I'm part of.
So I have a few questions that I'm hoping someone can shed some light on. Thanks!
I'd appreciate any help or guidance. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions