Skip to content

Commit

Permalink
[FIXED JENKINS-43834] Stop using deprecated ABORT permission
Browse files Browse the repository at this point in the history
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 0d9beb2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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>
Expand Down

0 comments on commit 0d9beb2

Please sign in to comment.