Skip to content

Commit

Permalink
[JENKINS-73908] Do not show button to upgrade to SystemRead users (je…
Browse files Browse the repository at this point in the history
…nkinsci#9981)

Co-authored-by: Daniel Beck <[email protected]>
(cherry picked from commit 530b0ab)
  • Loading branch information
daniel-beck authored and krisstern committed Dec 10, 2024
1 parent 2e90e86 commit faef7d7
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ THE SOFTWARE.
<j:otherwise>
<j:set var="changelog_url" value="${app.CHANGELOG_URL}"/>
${%NewVersionAvailable(ucData.core.version,ucData.core.url,changelog_url)}
<j:if test="${ucData.canUpgrade()}">
<form method="post" action="${rootURL}/updateCenter/upgrade">
<f:submit value="${%Or Upgrade Automatically}"/>
</form>
</j:if>
<l:isAdmin>
<j:if test="${ucData.canUpgrade()}">
<form method="post" action="${rootURL}/updateCenter/upgrade">
<f:submit value="${%Or Upgrade Automatically}"/>
</form>
</j:if>
</l:isAdmin>
</j:otherwise>
</j:choose>
</div>
Expand Down

0 comments on commit faef7d7

Please sign in to comment.