1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/content/codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces.md
Laura Coursen 8f964ea2cb GHEC version (#20947)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Robert Sese <sese@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-10-15 15:41:33 -05:00

1.7 KiB

title, shortTitle, intro, product, versions, topics, redirect_from
title shortTitle intro product versions topics redirect_from
Managing repository access for your codespaces Repository access You can manage the repositories that {% data variables.product.prodname_codespaces %} can access. {% data reusables.gated-features.codespaces %}
fpt ghec
* *
Codespaces
Security
/codespaces/managing-your-codespaces/managing-access-and-security-for-your-codespaces

When you enable access and security for a repository owned by your user account, any codespaces that are created for that repository will have read permissions to all other repositories you own. If you want to restrict the repositories a codespace can access, you can limit to it to either the repository the codespace was opened for or specific repositories. You should only enable access and security for repositories you trust.

{% data reusables.user_settings.access_settings %} {% data reusables.user_settings.codespaces-tab %}

  1. Under "Access and security", select the setting you want for your user account. Radio buttons to manage trusted repositories
  2. If you chose "Selected repositories", select the drop-down menu, then click a repository to allow the repository's codespaces to access other repositories you own. Repeat for all repositories whose codespaces you want to access other repositories you own. "Selected repositories" drop-down menu

Further Reading