mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 13:02:19 +00:00
Merge pull request #3101 from abayer/jenkins-43834
[FIXED JENKINS-43834] Stop using deprecated ABORT permission
This commit is contained in:
1 file changed
+2
-2
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user