diff --git a/core/src/main/resources/hudson/PluginWrapper/thirdPartyLicenses.jelly b/core/src/main/resources/hudson/PluginWrapper/thirdPartyLicenses.jelly index 80fe21f1ec484be4acaf8245b9c51351cc029be2..acdbbb6b9e75ec89bde94f0aaa653e2c33bb017c 100644 --- a/core/src/main/resources/hudson/PluginWrapper/thirdPartyLicenses.jelly +++ b/core/src/main/resources/hudson/PluginWrapper/thirdPartyLicenses.jelly @@ -25,7 +25,7 @@ THE SOFTWARE. - +

${%about(it.longName+' '+it.version)}

diff --git a/core/src/main/resources/hudson/PluginWrapper/uninstall.groovy b/core/src/main/resources/hudson/PluginWrapper/uninstall.groovy index a47356a1a5b650c852df453b810e65f3fea37939..b6e34756f017703e8b4c61d31b527b4c7e8881b7 100644 --- a/core/src/main/resources/hudson/PluginWrapper/uninstall.groovy +++ b/core/src/main/resources/hudson/PluginWrapper/uninstall.groovy @@ -1,9 +1,11 @@ package hudson.PluginWrapper +import jenkins.model.Jenkins + def l = namespace(lib.LayoutTagLib) def f = namespace(lib.FormTagLib) -l.layout { +l.layout(permission: Jenkins.ADMINISTER) { def title = _("title", my.shortName) l.header(title:title) l.main_panel {