jenkinsci / jenkinsci/script-security-plugin
[JENKINS-63668] After removal of approval, usage does not trigger re-approval
- Dominant language
- Java
- Stars
- 76
- Forks
- 181
- Avg merge
- 14h 55m
- Merged PRs (30d)
- 3
Description
Source: https://github.com/jenkinsci/script-security-plugin/pull/300#issuecomment-678970315
From Daniel:
As 'user', create a Pipeline, write a script that hasn't been used before, disable sandbox, save.
As 'user', build the job, it fails
As 'admin', approve the script.
As 'user' build the job, it works
As 'admin', delete from approvals
As 'user', build the job, it fails
Expected: Script is now pending approval
Actual: It's neither approved nor pending
It's currently blocking the UI enhancement PR.
Current workaround, you need to re-configure the code that is using the script. Just executing it will not trigger the approval request.
---
Originally reported by
wfollonier, imported from: After removal of approval, usage does not trigger re-approval
Raw content of original issue
Source: https://github.com/jenkinsci/script-security-plugin/pull/300#issuecomment-678970315
From Daniel:
As 'user', create a Pipeline, write a script that hasn't been used before, disable sandbox, save.
As 'user', build the job, it fails
As 'admin', approve the script.
As 'user' build the job, it works
As 'admin', delete from approvals
As 'user', build the job, it fails
Expected: Script is now pending approval
Actual: It's neither approved nor pendingIt's currently blocking the UI enhancement PR.
Current workaround, you need to re-configure the code that is using the script. Just executing it will not trigger the approval request.
Contributor guide
Assessment
This issue has not been assessed yet.