1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Files
docs/content/codespaces/managing-codespaces-for-your-organization/managing-repository-access-for-your-organizations-codespaces.md
2021-08-11 11:46:35 -04:00

2.4 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_codespaces %} can access. {% data reusables.gated-features.codespaces %} To manage access and security for Codespaces for an organization, you must be an organization owner.
fpt
*
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

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 and write 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 to 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_codespaces %}, see "Managing user permissions 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