Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinston Prakash2015-12-09 17:56:22 -0500
committerWinston Prakash2015-12-09 18:08:55 -0500
commit6cae5b7f9f88ac0afdc13ae8ea1c2f5070441b9e (patch)
tree5aab57b248751c0f96f84e3a766a01cc94f6b09a /hudson-core/src/main/resources/hudson/model
parent58f8d633bfa694a097c23e66e67429103f684a07 (diff)
downloadorg.eclipse.hudson.core-6cae5b7f9f88ac0afdc13ae8ea1c2f5070441b9e.tar.gz
org.eclipse.hudson.core-6cae5b7f9f88ac0afdc13ae8ea1c2f5070441b9e.tar.xz
org.eclipse.hudson.core-6cae5b7f9f88ac0afdc13ae8ea1c2f5070441b9e.zip
Bug Fix: Bug 483532 - Lock down the Hudson CLI by default
Diffstat (limited to 'hudson-core/src/main/resources/hudson/model')
-rw-r--r--hudson-core/src/main/resources/hudson/model/Hudson/configure.jelly4
-rw-r--r--hudson-core/src/main/resources/hudson/model/Hudson/configure.properties3
2 files changed, 7 insertions, 0 deletions
diff --git a/hudson-core/src/main/resources/hudson/model/Hudson/configure.jelly b/hudson-core/src/main/resources/hudson/model/Hudson/configure.jelly
index 42fb5c90..d383bc75 100644
--- a/hudson-core/src/main/resources/hudson/model/Hudson/configure.jelly
+++ b/hudson-core/src/main/resources/hudson/model/Hudson/configure.jelly
@@ -126,6 +126,10 @@
<f:optionalBlock name="allowUnsecuredAction" checked="${it.allowUnsecuredAction()}"
title="${%allowUnsecuredActionBlurb}"
help="/help/system-config/allow-unsecured-action.html" />
+
+ <f:optionalBlock name="allowCli" checked="${it.allowCli()}"
+ title="${%allowCLIBlurb}"
+ help="/help/system-config/allow-cli.html" />
<f:descriptorList title="${%Global properties}"
name="globalNodeProperties"
diff --git a/hudson-core/src/main/resources/hudson/model/Hudson/configure.properties b/hudson-core/src/main/resources/hudson/model/Hudson/configure.properties
index 175c5d43..f6b57f3c 100644
--- a/hudson-core/src/main/resources/hudson/model/Hudson/configure.properties
+++ b/hudson-core/src/main/resources/hudson/model/Hudson/configure.properties
@@ -24,6 +24,9 @@ useBlueBallBlurb=\
allowUnsecuredActionBlurb=\
Allow actions that are unsecured and performed outside of Hudson security envelop.
+allowCLIBlurb=\
+ Allow Command Line Interface (CLI)
+
statsBlurb=\
Help make Hudson better by sending anonymous usage statistics and crash reports to the Hudson team.

Back to the top