Skip to content
Permalink
Browse files
[FIXED JENKINS-20597] Only ask when user can change
  • Loading branch information
daniel-beck committed Apr 13, 2014
1 parent cd0fae1 commit ee64eb920cee5af9f430cfcdfd341714549960ce
Showing with 6 additions and 2 deletions.
  1. +3 −1 core/src/main/resources/hudson/model/Job/configure.jelly
  2. +3 −1 core/src/main/resources/hudson/model/Run/configure.jelly
@@ -68,7 +68,9 @@ THE SOFTWARE.
</f:bottomButtonBar>
</j:if>
</f:form>
<st:adjunct includes="lib.form.confirm" />
<j:if test="${h.hasPermission(it,it.CONFIGURE)}">
<st:adjunct includes="lib.form.confirm" />
</j:if>
</l:main-panel>
</l:layout>
</j:jelly>
@@ -43,7 +43,9 @@ THE SOFTWARE.
</f:bottomButtonBar>
</j:if>
</f:form>
<st:adjunct includes="lib.form.confirm" />
<j:if test="${h.hasPermission(it,it.UPDATE)}">
<st:adjunct includes="lib.form.confirm" />
</j:if>
</l:main-panel>
</l:layout>
</j:jelly>

0 comments on commit ee64eb9

Please sign in to comment.