1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Files
docs/content/github/developing-online-with-codespaces/managing-access-and-security-for-codespaces.md
Laura Coursen e5c6dca9c5 GitHub Codespaces beta features (#17037)
* Add new articles

* Rename article

* Add secrets content

* Remove permissions statements

* Fix image name

* Fix article name

* Mention GPG verification for Codespaces in "About commit signature verification"

* Add GPG verification content

* Add access and security procedure

* Add 💅

* Rename articles

* Rename the other article

* Rename again

* Okay, rename this one again, too

* Update link

* Start access and security content

* Add 💅

* Mention new functionalities in "Personalizing..."

* Mention new features in "About Codespaces"

* Add 💅

* Fix typos

* Add audit log events

* Fix so many links

* Add 💅

* Add permissions

* Spell access correctly, for once

* Add 💅

* FIX THESE LINKS I SWEAR

* Addd missing )

* Start adding procedure

* update with procedural

* Update content/github/developing-online-with-codespaces/managing-encrypted-secrets-for-codespaces.md

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>

* Update content/github/developing-online-with-codespaces/managing-access-and-security-for-codespaces.md

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>

* Apply suggestions from code review

Committing all reviews 

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Meg Bird <megbird@github.com>
2021-01-07 11:31:07 -07:00

3.3 KiB

title, intro, product, versions
title intro product versions
Managing access and security for Codespaces You can manage the repositories that codespaces can access. {% data reusables.gated-features.codespaces %}
free-pro-team
*

{% note %}

Note: Access and security for {% data variables.product.prodname_codespaces %} is currently in beta and subject to change.

{% endnote %}

Managing security and access for your user account

When you enable access and security for a repository owned by your user account, any codespaces you create for that repository will have read and write permissions to all other repositories you own. You can enable access and security for none of your repositories, all of your repositories, 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

Managing security and access for your organization

Organization owners can manage security and access for {% data variables.product.prodname_codespaces %}.

When you enable access and security for a repository owned by your organization, any codespaces that are created for that repository will have read and write permissions to all other repositories the organization owns. You can enable access and security for none of your organization's repositories, all of your organization's repositories, or specific repositories. You should only enable access and security for repositories you trust.

{% data reusables.profile.access_profile %} {% data reusables.profile.access_org %} {% data reusables.organizations.org_settings %} {% data reusables.organizations.click-codespaces %} 5. To approve of the pre-release program terms of service on behalf of your organization and enable {% data variables.product.prodname_codespaces %}, under "User permissions", select Selected users, then type the username for each person to grant access to. Repeat for all users who you want to have access to your organization's codespaces.
Radio button for "Selected users"

  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