Skip to content

Commit

Permalink
[FIXED JENKINS-20597] Only ask when user can change
Browse files Browse the repository at this point in the history
(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 d244762
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/resources/hudson/model/Job/configure.jelly
Expand Up @@ -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>
3 changes: 3 additions & 0 deletions core/src/main/resources/hudson/model/Run/configure.jelly
Expand Up @@ -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.