Skip to content
Permalink
Browse files
[FIXED JENKINS-20597] Only ask when user can change
(cherry picked from commit ee64eb9)

Conflicts:
	core/src/main/resources/hudson/model/Run/configure.jelly
  • Loading branch information
daniel-beck authored and olivergondza committed May 5, 2014
1 parent 4417793 commit d244762721422283318c934d14cff128f7198b08
Showing with 6 additions and 1 deletion.
  1. +3 −1 core/src/main/resources/hudson/model/Job/configure.jelly
  2. +3 −0 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,6 +43,9 @@ THE SOFTWARE.
</f:bottomButtonBar>
</j:if>
</f:form>
<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 d244762

Please sign in to comment.