From e05ffb8a789a479b23b38ef407b35d508095222e Mon Sep 17 00:00:00 2001 From: Daniel Beck <1831569+daniel-beck@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:04:56 +0100 Subject: [PATCH] [JENKINS-72637] Make Cloud permission scope inherit from Jenkins (#8944) [JENKINS-72637] Make Cloud permission scope inherit from Overall Co-authored-by: Daniel Beck --- core/src/main/java/hudson/slaves/Cloud.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/slaves/Cloud.java b/core/src/main/java/hudson/slaves/Cloud.java index 76cf075c2634..d7d87c22743b 100644 --- a/core/src/main/java/hudson/slaves/Cloud.java +++ b/core/src/main/java/hudson/slaves/Cloud.java @@ -263,7 +263,7 @@ public static DescriptorExtensionList> all() { return Jenkins.get().getDescriptorList(Cloud.class); } - private static final PermissionScope PERMISSION_SCOPE = new PermissionScope(Cloud.class); + private static final PermissionScope PERMISSION_SCOPE = new PermissionScope(Cloud.class, PermissionScope.JENKINS); /** * Permission constant to control mutation operations on {@link Cloud}.