From 8fa074f580f90b7809df05e3d860854d54a1a4ca Mon Sep 17 00:00:00 2001 From: Frederic Gurr Date: Tue, 6 Aug 2024 13:01:28 +0200 Subject: [PATCH] Give Ed Merks "Overall/SystemRead" permission on Oomph JIPP https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4784#note_2552772 --- instances/tools.oomph/config.jsonnet | 4 ++++ instances/tools.oomph/target/config.json | 9 ++++++++- instances/tools.oomph/target/jenkins/configuration.yml | 4 ++++ .../tools.oomph/target/jenkins/partials/permissions.hbs | 4 ++++ .../tools.oomph/target/k8s/configmap-jenkins-config.yml | 4 ++++ 5 files changed, 24 insertions(+), 1 deletion(-) diff --git a/instances/tools.oomph/config.jsonnet b/instances/tools.oomph/config.jsonnet index e6c5e20a0..39b13de95 100644 --- a/instances/tools.oomph/config.jsonnet +++ b/instances/tools.oomph/config.jsonnet @@ -1,3 +1,5 @@ +local permissionsTemplates = import '../../templates/permissions.libsonnet'; + { project+: { fullName: "tools.oomph", @@ -11,6 +13,8 @@ "multiple-scms", "zentimestamp", ], + permissions+: + permissionsTemplates.user("ed.merks@gmail.com", ["Overall/SystemRead"]), }, clouds+: { kubernetes+: { diff --git a/instances/tools.oomph/target/config.json b/instances/tools.oomph/target/config.json index 1bbd04aa6..8658fe7bb 100644 --- a/instances/tools.oomph/target/config.json +++ b/instances/tools.oomph/target/config.json @@ -582,6 +582,14 @@ "View/Read" ] } + }, + { + "user": { + "name": "ed.merks@gmail.com", + "permissions": [ + "Overall/SystemRead" + ] + } } ], "plugins": [ @@ -619,7 +627,6 @@ "authorize-project", "bouncycastle-api", "build-timeout", - "cloudbees-disk-usage-simple", "cloudbees-folder", "command-launcher", "config-file-provider", diff --git a/instances/tools.oomph/target/jenkins/configuration.yml b/instances/tools.oomph/target/jenkins/configuration.yml index 94f1d76e8..28e6f6b72 100644 --- a/instances/tools.oomph/target/jenkins/configuration.yml +++ b/instances/tools.oomph/target/jenkins/configuration.yml @@ -54,6 +54,10 @@ jenkins: permissions: - Overall/Read - Job/Read + - user: + name: ed.merks@gmail.com + permissions: + - Overall/SystemRead markupFormatter: rawHtml crumbIssuer: standard: diff --git a/instances/tools.oomph/target/jenkins/partials/permissions.hbs b/instances/tools.oomph/target/jenkins/partials/permissions.hbs index dc8a61745..41821cc9d 100644 --- a/instances/tools.oomph/target/jenkins/partials/permissions.hbs +++ b/instances/tools.oomph/target/jenkins/partials/permissions.hbs @@ -33,3 +33,7 @@ permissions: - Overall/Read - Job/Read +- user: + name: ed.merks@gmail.com + permissions: + - Overall/SystemRead diff --git a/instances/tools.oomph/target/k8s/configmap-jenkins-config.yml b/instances/tools.oomph/target/k8s/configmap-jenkins-config.yml index 204642c72..72fa2de59 100644 --- a/instances/tools.oomph/target/k8s/configmap-jenkins-config.yml +++ b/instances/tools.oomph/target/k8s/configmap-jenkins-config.yml @@ -77,6 +77,10 @@ data: permissions: - Overall/Read - Job/Read + - user: + name: ed.merks@gmail.com + permissions: + - Overall/SystemRead markupFormatter: rawHtml crumbIssuer: standard: