From 2199dbff24c0a4eb745a0b5a744259761adff217 Mon Sep 17 00:00:00 2001 From: Miranda Fluharty Date: Mon, 10 Jun 2024 21:59:18 +0000 Subject: [PATCH] Revert "Merge branch '415519-add-groups-to-ci-job-token-allowlist-2' into 'master'" This reverts merge request !151704 --- .../components/inbound_token_access.vue | 36 ++++++++----------- .../components/outbound_token_access.vue | 4 +-- .../projects/settings/ci_cd/show.html.haml | 4 +-- .../15-9-insecure-ci-job-token.yml | 2 -- .../16-5-ci-job-token-limit-setting.yml | 2 -- doc/api/project_job_token_scopes.md | 7 ++-- doc/ci/debugging.md | 3 +- doc/ci/jobs/ci_job_token.md | 10 +++--- doc/update/deprecations.md | 4 --- locale/gitlab.pot | 23 ++++++------ 10 files changed, 37 insertions(+), 58 deletions(-) diff --git a/app/assets/javascripts/token_access/components/inbound_token_access.vue b/app/assets/javascripts/token_access/components/inbound_token_access.vue index ae7158d73a0838..6a28d2706a95de 100644 --- a/app/assets/javascripts/token_access/components/inbound_token_access.vue +++ b/app/assets/javascripts/token_access/components/inbound_token_access.vue @@ -24,14 +24,11 @@ import TokenAccessTable from './token_access_table.vue'; export default { i18n: { - toggleLabelTitle: s__('CICD|Allow CI/CD job token access'), + toggleLabelTitle: s__('CICD|Limit access %{italicStart}to%{italicEnd} this project'), toggleDescription: s__( - `CICD|When enabled, groups and projects listed in the allowlist are authorized to use a CI/CD job token to authenticate requests to this project. %{linkStart}Learn more%{linkEnd}.`, - ), - cardHeaderTitle: s__('CICD|Authorized groups and projects'), - cardHeaderDescription: s__( - `CICD|Ensure only groups and projects with members authorized to access sensitive project data are added to the allowlist.`, + `CICD|Allow access to this project from authorized groups or projects by adding them to the allowlist. It is a security risk to disable this feature, because unauthorized projects might attempt to retrieve an active token and access the API. %{linkStart}Learn more%{linkEnd}.`, ), + cardHeaderTitle: s__('CICD|Groups and projects with access'), settingDisabledMessage: s__( 'CICD|No access is currently allowed to this project. Enable feature to authorize access from groups or projects in the allowlist below.', ), @@ -261,25 +258,22 @@ export default {