Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinston Prakash2014-06-12 23:23:05 -0400
committerWinston Prakash2014-06-12 23:23:05 -0400
commitbe6029e21c73c6daac8f1238f3c254ce7b00b8f7 (patch)
tree071b5e1f4dc1a3c1e73c8fb4f424916f6ffc034d /hudson-core/src/main/resources/hudson
parent3a3669991d11f849a99dc2cfff81076f555f33c6 (diff)
downloadorg.eclipse.hudson.core-be6029e21c73c6daac8f1238f3c254ce7b00b8f7.tar.gz
org.eclipse.hudson.core-be6029e21c73c6daac8f1238f3c254ce7b00b8f7.tar.xz
org.eclipse.hudson.core-be6029e21c73c6daac8f1238f3c254ce7b00b8f7.zip
Fix: 37310 - Team slave visible to teams that do not have permission to view/share slave in Job Configuration
Diffstat (limited to 'hudson-core/src/main/resources/hudson')
-rw-r--r--hudson-core/src/main/resources/hudson/model/AbstractItem/configure-common.jelly2
1 files changed, 1 insertions, 1 deletions
diff --git a/hudson-core/src/main/resources/hudson/model/AbstractItem/configure-common.jelly b/hudson-core/src/main/resources/hudson/model/AbstractItem/configure-common.jelly
index 30b223d4..6ffb3d96 100644
--- a/hudson-core/src/main/resources/hudson/model/AbstractItem/configure-common.jelly
+++ b/hudson-core/src/main/resources/hudson/model/AbstractItem/configure-common.jelly
@@ -61,7 +61,7 @@
isPropertyOverridden="${isNodeOverridden}">
<f:entry title="${%Node}" isPropertyOverridden="${isNodeOverridden}">
<select class="setting-input" name="${it.SLAVE_KEY}">
- <j:forEach var="s" items="${app.labels}">
+ <j:forEach var="s" items="${app.getBuildableLabels(it)}">
<j:if test="${s.isAssignable()}">
<f:option selected="${s==it.assignedLabel}" value="${s.name}">${s.name}
<j:if test="${!empty(s.description)}">(${s.description})</j:if>

Back to the top