1
0
mirror of synced 2025-12-23 03:44:00 -05:00
Files
docs/content/codespaces/managing-codespaces-for-your-organization/managing-repository-access-for-your-organizations-codespaces.md
hubwriter 64524ba076 Codespaces: Rewrite articles relating to org billing UI change (#29134)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Florian Wagner <h2floh@github.com>
Co-authored-by: Ajay <40024974+ajaykn@users.noreply.github.com>
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
Co-authored-by: GitHub Actions <action@github.com>
Co-authored-by: docubot <67483024+docubot@users.noreply.github.com>
Co-authored-by: Hector Alfaro <hectorsector@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: EMILYMC0 <106744387+EMILYMC0@users.noreply.github.com>
Co-authored-by: de-oz <101826623+de-oz@users.noreply.github.com>
Co-authored-by: rachmari <rachmari@users.noreply.github.com>
Co-authored-by: Roger D. Winans <solvaholic@users.noreply.github.com>
Co-authored-by: Jacob Wallraff <thyeggman@github.com>
Co-authored-by: Chaiwat Trisuwan <chaiwattsw@gmail.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
Co-authored-by: Junko Suzuki <pnsk@github.com>
Co-authored-by: kathodos <19529657+kathodos@users.noreply.github.com>
Co-authored-by: Vanessa <vgrl@github.com>
Co-authored-by: Kurt von Laven <Kurt-von-Laven@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-08-24 09:50:10 +10:00

3.1 KiB

title, shortTitle, intro, product, permissions, versions, type, topics, redirect_from
title shortTitle intro product permissions versions type topics redirect_from
Managing repository access for your organization's codespaces Repository access You can manage the repositories in your organization that {% data variables.product.prodname_github_codespaces %} can access. {% data reusables.gated-features.codespaces %} To manage access and security for {% data variables.product.prodname_github_codespaces %} for an organization, you must be an organization owner.
fpt ghec
* *
how_to
Codespaces
Security
Administrator
/codespaces/managing-codespaces-for-your-organization/managing-access-and-security-for-your-organizations-codespaces
/github/developing-online-with-codespaces/managing-access-and-security-for-codespaces
/codespaces/working-with-your-codespace/managing-access-and-security-for-codespaces

{% warning %}

Deprecation note: The access and security setting described below is now deprecated and is documented here for reference only. To enable expanded access to other repositories, add the requested permissions to your devcontainer.json configuration file. For more information, see "Managing access to other repositories within your codespace."

{% endwarning %}

By default, a codespace can only access the repository where it was created. When you enable access and security for a repository owned by your organization, any codespaces that are created for that repository will also have read permissions to all other repositories the organization owns and the codespace creator has permissions to access. If you want to restrict the repositories a codespace can access, you can limit it to either the repository where the codespace was created, or to specific repositories. You should only enable access and security for repositories you trust.

To manage which users in your organization can use {% data variables.product.prodname_github_codespaces %}, see "Enabling GitHub Codespaces for your organization."

{% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.organizations.click-codespaces %}

  1. Under "Access and security", select the setting you want for your organization. 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 owned by your organization. Repeat for all repositories whose codespaces you want to access other repositories. "Selected repositories" drop-down menu

Further reading