Skip to content

Commit

Permalink
As this is experimental, annotate with Restricted(Beta)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-beck committed Feb 14, 2020
1 parent 55b2bc7 commit 3b2d0d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/java/jenkins/model/Jenkins.java
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
import org.jvnet.hudson.reactor.TaskGraphBuilder;
import org.jvnet.hudson.reactor.TaskGraphBuilder.Handle;
import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.Beta;
import org.kohsuke.accmod.restrictions.NoExternalUse;
import org.kohsuke.args4j.Argument;
import org.kohsuke.stapler.HttpRedirect;
Expand Down Expand Up @@ -5251,6 +5252,7 @@ private static void computeVersion(ServletContext context) {
* As an experimental feature, making the manage permission able to be disabled by default (keep as ADMINISTER), can
* be enabled with "jenkins.security.ManagePermission" system property.
*/
@Restricted(Beta.class)
public static final Permission MANAGE = new Permission(PERMISSIONS, "Manage",
Messages._Jenkins_Manage_Description(),
ADMINISTER,
Expand Down

0 comments on commit 3b2d0d2

Please sign in to comment.