Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinston Prakash2014-08-01 20:00:05 -0400
committerWinston Prakash2014-08-01 20:00:05 -0400
commit89f689ba22397dce21f1c0d1719ddbafc9d3c62c (patch)
tree44bad46e272d0114451efea7621f7de95c46c531 /hudson-core/src/main/resources/hudson
parent3de4a3432820bd9fc74db94b4562d838fd451989 (diff)
downloadorg.eclipse.hudson.core-89f689ba22397dce21f1c0d1719ddbafc9d3c62c.tar.gz
org.eclipse.hudson.core-89f689ba22397dce21f1c0d1719ddbafc9d3c62c.tar.xz
org.eclipse.hudson.core-89f689ba22397dce21f1c0d1719ddbafc9d3c62c.zip
440682 - "Keep this build forever" and "delete this build" buttons do not display when using Teams and user is not sysadmin
Diffstat (limited to 'hudson-core/src/main/resources/hudson')
-rw-r--r--hudson-core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly8
1 files changed, 4 insertions, 4 deletions
diff --git a/hudson-core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly b/hudson-core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly
index cd85e7ed..54eddbb9 100644
--- a/hudson-core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly
+++ b/hudson-core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly
@@ -52,13 +52,13 @@
<l:task icon="images/24x24/terminal.png" href="${buildUrl.baseUrl}/console" title="${%Console Output}" />
</j:otherwise>
</j:choose>
- <l:task icon="images/24x24/setting.png" href="${buildUrl.baseUrl}/configure" title="${h.hasPermission(it,it.UPDATE)?'%Configure':'%View Configuration'}"/>
+ <l:task icon="images/24x24/setting.png" href="${buildUrl.baseUrl}/configure" title="${h.hasPermission(it,it.UPDATE)?'%Configure Build':'%View Build Configuration'}"/>
<j:choose>
- <j:when test="${h.hasPermission(it,it.CONFIGURE)}">
+ <j:when test="${h.hasPermission(it.parent,it.parent.CONFIGURE)}">
<l:task icon="images/24x24/setting.png" href="${it.upUrl}configure" title="${%Configure Job}" />
</j:when>
- <j:when test="${h.hasPermission(it,it.EXTENDED_READ)}">
- <l:task icon="images/24x24/setting.png" href="${it.upUrl}configure" title="${%ViewJob Configuration}" />
+ <j:when test="${h.hasPermission(it.parent,it.parent.EXTENDED_READ)}">
+ <l:task icon="images/24x24/setting.png" href="${it.upUrl}configure" title="${%View Job Configuration}" />
</j:when>
</j:choose>
</j:jelly>

Back to the top