Skip to content
Permalink
Browse files
[FIXED JENKINS-43834] Stop using deprecated ABORT permission
This is the only place it's actually referenced, so let's get rid of
it entirely.
  • Loading branch information
abayer committed Oct 20, 2017
1 parent 5d565cc commit 0d9beb20ab86a522d019df6dc6e467c3184f0b5b
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/src/main/resources/hudson/widgets/HistoryWidget/entry.jelly
@@ -60,8 +60,8 @@ THE SOFTWARE.
</div>
<j:if test="${build.building}">
<div class="build-stop">
<!-- Check ABORT permission for Project, Admin permission otherwise -->
<j:if test="${empty(it.widget.owner.ABORT) ? h.hasPermission(app.ADMINISTER) : it.widget.owner.hasPermission(it.widget.owner.ABORT)}">
<!-- Check CANCEL permission for Project, Admin permission otherwise -->
<j:if test="${empty(it.widget.owner.CANCEL) ? h.hasPermission(app.ADMINISTER) : it.widget.owner.hasPermission(it.widget.owner.CANCEL)}">
<l:stopButton href="${link}stop" alt="[cancel]" confirm="${%confirm(build.fullDisplayName)}" />
</j:if>
</div>

0 comments on commit 0d9beb2

Please sign in to comment.