Skip to content

Commit

Permalink
[JENKINS-72637] Make Cloud permission scope inherit from Jenkins (#8944)
Browse files Browse the repository at this point in the history
[JENKINS-72637] Make Cloud permission scope inherit from Overall

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
  • Loading branch information
daniel-beck and daniel-beck committed Feb 9, 2024
1 parent 11472cd commit e05ffb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/slaves/Cloud.java
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public static DescriptorExtensionList<Cloud, Descriptor<Cloud>> 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}.
Expand Down

0 comments on commit e05ffb8

Please sign in to comment.