diff --git a/src/main/resources/org/jenkinsci/plugins/scriptsecurity/scripts/ScriptApproval/index.jelly b/src/main/resources/org/jenkinsci/plugins/scriptsecurity/scripts/ScriptApproval/index.jelly index 6a9ed46b9..c02b8335f 100644 --- a/src/main/resources/org/jenkinsci/plugins/scriptsecurity/scripts/ScriptApproval/index.jelly +++ b/src/main/resources/org/jenkinsci/plugins/scriptsecurity/scripts/ScriptApproval/index.jelly @@ -87,8 +87,11 @@ THE SOFTWARE. /* Create a list like:

- / - + + / + ${pcp.hash} (${pcp.path})

*/ @@ -117,16 +120,18 @@ THE SOFTWARE. function renderApprovedClasspathEntries(approvedClasspathEntries) { if (approvedClasspathEntries.length == 0) { $('approvedClasspathEntries-none').show(); - $('approvedClasspathEntries').childElements().each(function(e){e.remove()}); - $('approvedClasspathEntries').hide(); + $('approvedClasspathEntries-list').childElements().each(function(e){e.remove()}); + $('approvedClasspathEntries-list').hide(); + $('approved-classpath-entries-clear').hide(); $('approvedClasspathEntries-clear').hide(); } else { $('approvedClasspathEntries-none').hide(); - $('approvedClasspathEntries').childElements().each(function(e){e.remove()}); + $('approvedClasspathEntries-list').childElements().each(function(e){e.remove()}); /* Create a list like:

- + ${acp.hash} (${acp.path})

*/ @@ -142,9 +147,10 @@ THE SOFTWARE. block.insert(deleteButton); block.insert("<code title='" + e.hash + "'>" + e.path + "</code>"); - $('approvedClasspathEntries').insert(block); + $('approvedClasspathEntries-list').insert(block); }); - $('approvedClasspathEntries').show(); + $('approvedClasspathEntries-list').show(); + $('approved-classpath-entries-clear').show(); $('approvedClasspathEntries-clear').show(); } } @@ -181,6 +187,12 @@ THE SOFTWARE. }); }); +

+ In-process Script Approval +

+

+ Script approvals +

@@ -191,19 +203,33 @@ THE SOFTWARE.

- / ${ps.language.displayName} script + + / + + ${ps.language.displayName} script :

- +

+ +

-

+

You can also remove all previous script approvals: +

+


+

Signature Approvals

@@ -214,60 +240,102 @@ THE SOFTWARE.

- / + + / - / + + / - signature + + signature : ${s.signature} - - Approving this signature may introduce a security vulnerability! You are advised to deny it. -

+ +

+ Approving this signature may introduce a security vulnerability! You are advised to deny it. +

+
-

Signatures already approved:

- -

Signatures already approved assuming permission check:

- +

Signatures already approved:

+ + +

+ None +

+
+ +

+ +

+
+
+

Signatures already approved assuming permission check:

+ + +

+ None +

+
+ +

+ +

+
+
-

Signatures already approved which may have introduced a security vulnerability (recommend clearing):

- +

Signatures already approved which may have introduced a security vulnerability (recommend clearing):

+

+ +

-

+

You can also remove all previous signature approvals: - +

+

+

- Or you can just remove the dangerous ones: - +

Or you can just remove the dangerous ones:

+

+ +


+

Classpath Approvals

No pending classpath entry approvals.

Classpath entries pending approval. (Beware of remote URLs, workspace files, or anything else that might change without your notice.)
-

Classpath entries already approved:

+

Classpath entries already approved:

No approved classpath entries.

-
+
-

+

You can also remove all previous classpath entry approvals: - +

+

+