You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/github-app.adoc
+16-14Lines changed: 16 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,24 +146,26 @@ Note also that Jenkins users who have Job/Configure permission in a context wher
146
146
In trusted contexts, the generated access tokens will have the same access as configured for the app installation in GitHub.
147
147
148
148
The following repository access strategies are available:
149
-
* **Infer owner and allow access to all owned repositories** (Default)
150
-
* The credentials may only be used in contexts where a GitHub organization can be inferred, such as Organization Folders and Multibranch Pipelines
151
-
* The access tokens generated in untrusted contexts will be able to access all repositories in the inferred GitHub organization that are accessible to the GitHub App installation.
149
+
150
+
* **Infer owner and allow access to all owned repositories** (default)
151
+
** The credentials may only be used in contexts where a GitHub organization can be inferred, such as Organization Folders and Multibranch Pipelines
152
+
** The access tokens generated in untrusted contexts will be able to access all repositories in the inferred GitHub organization that are accessible to the GitHub App installation.
152
153
* **Infer accessible repository**
153
-
* The credentials may only be used in contexts where a GitHub organization and repository can be inferred, such as Organization Folders and Multibranch Pipelines
154
-
* The access tokens generated in untrusted contexts will only be able to access the inferred repository
154
+
** The credentials may only be used in contexts where a GitHub organization and repository can be inferred, such as Organization Folders and Multibranch Pipelines
155
+
** The access tokens generated in untrusted contexts will only be able to access the inferred repository
155
156
* **Specify accessible repositories**
156
-
* The access tokens generated in untrusted contexts will be able to access the repositories specified statically in the credential configuration
157
-
* If the GitHub app is installed in a single organization, the owner field may be left blank empty, in which case that organization will be accessed automatically
158
-
* Leaving the repositories field empty will result in all repositories accessible to the configured owner being accessible
157
+
** The access tokens generated in untrusted contexts will be able to access the repositories specified statically in the credential configuration
158
+
** If the GitHub app is installed in a single organization, the owner field may be left blank empty, in which case that organization will be accessed automatically
159
+
** Leaving the repositories field empty will result in all repositories accessible to the configured owner being accessible
159
160
160
161
The following default permissions strategies are available:
161
-
* Read-only access to repository contents
162
-
* The access tokens generated in untrusted contexts will only be able to read the repository contents
163
-
* Read and write access to repository contents
164
-
* The access tokens generated in untrusted contexts will only be able to read and write the repository contents
165
-
* All permissions available to the app installation (default)
166
-
* The access tokens generated in untrusted contexts will have the same permissions as the app installation in GitHub
162
+
163
+
* **Read-only access to repository contents**
164
+
** The access tokens generated in untrusted contexts will only be able to read the repository contents
165
+
* **Read and write access to repository contents**
166
+
** The access tokens generated in untrusted contexts will only be able to read and write the repository contents
167
+
* **All permissions available to the app installation** (default)
168
+
** The access tokens generated in untrusted contexts will have the same permissions as the app installation in GitHub
167
169
168
170
==== Repository access strategies and Pipeline libraries
0 commit comments