Skip to content

Commit 9d664ff

Browse files
OctomergerGeorgi Knoxmchammer01JamesMGreene
authored
repo sync (#18181)
* update docs to specify Metadata access * remove outdated default metadata perms * Update content/developers/apps/setting-up-your-development-environment-to-create-a-github-app.md Co-authored-by: Georgi Knox <[email protected]> Co-authored-by: mc <[email protected]> Co-authored-by: James M. Greene <[email protected]>
1 parent e970f12 commit 9d664ff

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

content/developers/apps/setting-permissions-for-github-apps.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,4 @@ versions:
1111
github-ae: '*'
1212
---
1313

14-
When you create a GitHub App, you can select the permissions it needs to access end user data. Permissions can also be added and removed. For more information, see "[Editing a GitHub App's permissions](/apps/managing-github-apps/editing-a-github-app-s-permissions/)."
15-
16-
### Metadata permissions
17-
18-
By default, GitHub Apps have `Read-only` access to metadata endpoints. Metadata is a collection of read-only endpoints that provide general information about resources that the authorized installation can access.
19-
20-
{% data reusables.apps.metadata-permissions %} For a list of metadata endpoints, see "[Metadata permissions](/rest/reference/permissions-required-for-github-apps#metadata-permissions)."
14+
GitHub Apps don't have any permissions by default. When you create a GitHub App, you can select the permissions it needs to access end user data. Permissions can also be added and removed. For more information, see "[Editing a GitHub App's permissions](/apps/managing-github-apps/editing-a-github-app-s-permissions/)."

content/developers/apps/setting-up-your-development-environment-to-create-a-github-app.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ You'll see a form where you can enter details about your app. See "[Creating a G
115115
116116
![Form with webhook secret filled in](/assets/images/webhook-secret.png)
117117
118-
* On the Permissions & Webhooks page, you can specify a set of permissions for your app, which determines how much data your app has access to. Leave this page with its default values. If you decide to extend this template app, you can update these permissions later.
118+
* On the Permissions & Webhooks page, you can specify a set of permissions for your app, which determines how much data your app has access to. Under the "Repository permissions"
119+
section, scroll down to "Metadata" and select `Access: Read-only`. If you decide to extend this template app, you can update these permissions later.
119120
120121
* At the bottom of the Permissions & Webhooks page, specify whether this is a private app or a public app. This refers to who can install it: just you, or anyone in the world? For now, leave the app as private by selecting **Only on this account**.
121122

0 commit comments

Comments
 (0)