-
Improvement
-
Resolution: Unresolved
-
Major
-
- Jenkins 2.401.3
- Configuration as Code Plugin 1670.v564dc8b_982d0
- Script Security Plugin 1264.vecf66020eb_7d
Currently it is possible to add approved signatures with JCasC as follows:
security: scriptApproval: approvedSignatures: - "field hudson.model.UpdateSite$Entry version" - "method hudson.model.Run getCause java.lang.Class"
I could not find a way to add signatures approved assuming permission check (using an ACL: access control list). I have tried the following but it did not work:
security: scriptApproval: aclApprovedSignatures: - "staticMethod jenkins.model.Jenkins getInstance" approvedSignatures: - "field hudson.model.UpdateSite$Entry version" - "method hudson.model.Run getCause java.lang.Class"
It would be great to have such improvement.