diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-20 12:21:30 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-20 12:21:30 +0000 |
commit | 2366f969a4b3a95e052e551cc7283a2db8d5562e (patch) | |
tree | 33ea679dad4b92048697729f68f9c606f91b32e4 /doc/ci/jobs | |
parent | c7eec01f1b68b2e047cdd709751cb695ab329933 (diff) | |
download | gitlab-ce-2366f969a4b3a95e052e551cc7283a2db8d5562e.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/jobs')
-rw-r--r-- | doc/ci/jobs/ci_job_token.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ci/jobs/ci_job_token.md b/doc/ci/jobs/ci_job_token.md index 3f1c72c2bd6..ec361c8b30f 100644 --- a/doc/ci/jobs/ci_job_token.md +++ b/doc/ci/jobs/ci_job_token.md @@ -244,6 +244,11 @@ While troubleshooting CI/CD job token authentication issues, be aware that: - A [GraphQL example mutation](../../api/graphql/getting_started.md#update-project-settings) is available to toggle the scope settings per project. +- [This comment](https://gitlab.com/gitlab-org/gitlab/-/issues/351740#note_1335673157) + demonstrates how to use graphQL with Bash and cURL to: + - Enable the inbound token access scope. + - Give access to project B from project A, or add B to A's allowlist. + - To remove project access. - When the [CI/CD job token scopes](#configure-cicd-job-token-access) are enabled, and the job token is being used to access a different project: - The user that executes the job must be a member of the project that is being accessed. |