From d3272608ddd42df011a33b87ec181ea1b0404a46 Mon Sep 17 00:00:00 2001 From: Gabe D Date: Mon, 25 Apr 2022 10:09:42 -0700 Subject: [PATCH 1/2] Add packages read to list of supported permissions With this issue resolved we feel confident that packages read is supported by this feature https://github.com/github/c2c-package-registry/issues/4912. Just need to enable the feature flag. --- .../managing-repository-access-for-your-codespaces.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces.md b/content/codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces.md index b6b604c5b4..6c27e98e89 100644 --- a/content/codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces.md +++ b/content/codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces.md @@ -67,6 +67,7 @@ To create codespaces with custom permissions defined, you must use one of the fo * `repository_projects` - read / write * `statuses` - read / write * `workflows` - write + * `packages` - read To set a permission for all repositories in an organization, use the `*` wildcard following your organization name in the `repositories` object. From ef36fd19e4fe52eabd5d152d52b432f015e37a94 Mon Sep 17 00:00:00 2001 From: Gabe D Date: Tue, 26 Apr 2022 16:11:14 -0700 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com> --- .../managing-repository-access-for-your-codespaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces.md b/content/codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces.md index 6c27e98e89..476cb7adaa 100644 --- a/content/codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces.md +++ b/content/codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces.md @@ -62,12 +62,12 @@ To create codespaces with custom permissions defined, you must use one of the fo * `deployments` - read / write * `discussions` - read / write * `issues` - read / write + * `packages` - read * `pages` - read / write * `pull_requests` - read / write * `repository_projects` - read / write * `statuses` - read / write * `workflows` - write - * `packages` - read To set a permission for all repositories in an organization, use the `*` wildcard following your organization name in the `repositories` object.