Skip to content

Commit

Permalink
Merge pull request jenkinsci#14 from aHenryJard/792_secure-global-sec…
Browse files Browse the repository at this point in the history
…urity

Global security must be restricted to ADMINISTER
  • Loading branch information
aHenryJard authored Oct 31, 2019
2 parents 2d232b6 + dfe9a8d commit c4ec468
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def f=namespace(lib.FormTagLib)
def l=namespace(lib.LayoutTagLib)
def st=namespace("jelly:stapler")

l.layout(norefresh:true, permission:app.CONFIGURE_JENKINS, title:my.displayName, cssclass:request.getParameter('decorate')) {
l.layout(norefresh:true, permission:app.ADMINISTER, title:my.displayName, cssclass:request.getParameter('decorate')) {
l.main_panel {
h1 {
l.icon(class: 'icon-secure icon-xlg')
Expand Down

0 comments on commit c4ec468

Please sign in to comment.