-
Bug
-
Resolution: Fixed
-
Major
Given I am Jenkins administrator when I create a job like the following:
node { echo "test" input id: 'Edebd25a79a1ac52da788eba9a7fcc3a', message: 'hey!', ok: 'yo', submitter: 'foobar' parameters: [] }
... I'm not able to answer the question it asks as I get an error saying "You need to be foobar to submit this" and I'm unable to stop/kill the job (it just doesn't work).
Probably there should be special permission for admins to stop such jobs and/or the plugin should check if the submitter is a real person when saving/running the job.
I'm using Jenkins ver. 1.596 and workflow plugin v1.1
- is related to
-
JENKINS-25550 Hard kill
-
- Resolved
-
The bug is that anyone with cancel permission for the build overall ought to be able to cancel the input step, whether or not they match submitter.
The stop function is implemented for the input step, but just delegates to the cancellation of the input, so that does not help in your case.
Form validation should be added for submitter to check whether it is an existing user ID or external group, insofar as the SecurityRealm can give a definitive answer.