Skip to content

Commit ff8e48e

Browse files
authored
Merge pull request #885 from jeromepochat/JENKINS-75058
Fix nested bullet list in documentation
2 parents 4a9883d + 02d66c0 commit ff8e48e

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

docs/github-app.adoc

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -146,24 +146,26 @@ Note also that Jenkins users who have Job/Configure permission in a context wher
146146
In trusted contexts, the generated access tokens will have the same access as configured for the app installation in GitHub.
147147

148148
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.
152153
* **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
155156
* **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
159160

160161
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
167169

168170
==== Repository access strategies and Pipeline libraries
169171

0 commit comments

Comments
 (0)