Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45355

Input without permissions or not logged in, shows no message

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins: 2.60.1
      Pipeline:

      When adding 'submitter' to an input message to limit the users who can accept the next stage 

      i.e. 

       stage "Pull to the Test Environment"
              input message: 'Ok to proceed?', submitter: 'TeamX'
      

      When trying to proceed as a user without permissions there is no feed back as to why you cannot. 

      Trying to proceed as a user without permission on the overview page produces this error in Chrome Console

      prototype.js:1585 POST http://localhost:8080/job/Testing%20gatling/66/wfapi/inputSubmit?inputId=475c6095275992ca689a7842929d7d8e 500 (Server Error)

      Trying to proceed on the 'Console Log' page produces this error in Chrome Console

      prototype.js:1585 POST http://localhost:8080/job/Testing%20gatling/66/input/475c6095275992ca689a7842929d7d8e/proceedEmpty 400 (Bad Request)

      Going thru to 'Paused for input' on the left hand side (only seems to appear when looking at console log) and clicking proceed without permissions does a full page post and does show some more information.

      NB: You'll have the same problem (no feedback) even if you do not have a submitter if you are not logged in.

          [JENKINS-45355] Input without permissions or not logged in, shows no message

          Aaron Knott created issue -
          Jesse Glick made changes -
          Component/s Original: pipeline [ 21692 ]
          Labels Original: jenkins pipeline
          Marcus Philip made changes -
          Description Original: When adding 'submitter' to an input message to limit the users who can accept the next stage 

          i.e.

           
          {code:java}
           stage "Pull to the Test Environment"
                  input message: 'Ok to proceed?', submitter: 'TeamX'
          {code}
          When trying to proceed as a user without permissions there is no feed back as to why you cannot. 

          Trying to proceed as a user without permission on the overview page produces this error in Chrome Console
          {noformat}
          prototype.js:1585 POST http://localhost:8080/job/Testing%20gatling/66/wfapi/inputSubmit?inputId=475c6095275992ca689a7842929d7d8e 500 (Server Error){noformat}
          Trying to proceed on the 'Console Log' page produces this error in Chrome Console
          {noformat}
          prototype.js:1585 POST http://localhost:8080/job/Testing%20gatling/66/input/475c6095275992ca689a7842929d7d8e/proceedEmpty 400 (Bad Request){noformat}
          Going thru to 'Paused for input' on the left hand side (only seems to appear when looking at console log) and clicking proceed without permissions does a full page post and does show some more information.

          !image-2017-07-07-11-15-54-316.png!

           

           

           

           
          New: When adding 'submitter' to an input message to limit the users who can accept the next stage 

          i.e.

           
          {code:java}
           stage "Pull to the Test Environment"
                  input message: 'Ok to proceed?', submitter: 'TeamX'
          {code}
          When trying to proceed as a user without permissions there is no feed back as to why you cannot. 

          Trying to proceed as a user without permission on the overview page produces this error in Chrome Console
          {noformat}
          prototype.js:1585 POST http://localhost:8080/job/Testing%20gatling/66/wfapi/inputSubmit?inputId=475c6095275992ca689a7842929d7d8e 500 (Server Error){noformat}
          Trying to proceed on the 'Console Log' page produces this error in Chrome Console
          {noformat}
          prototype.js:1585 POST http://localhost:8080/job/Testing%20gatling/66/input/475c6095275992ca689a7842929d7d8e/proceedEmpty 400 (Bad Request){noformat}
          Going thru to 'Paused for input' on the left hand side (only seems to appear when looking at console log) and clicking proceed without permissions does a full page post and does show some more information.

          !image-2017-07-07-11-15-54-316.png!

          *NB:* You'll have the same problem (no feedback) even if you do not have a submitter if you are not logged in.
          Marcus Philip made changes -
          Summary Original: Input without permissions, shows no message New: Input without permissions or not logged in, shows no message
          Marcus Philip made changes -
          Description Original: When adding 'submitter' to an input message to limit the users who can accept the next stage 

          i.e.

           
          {code:java}
           stage "Pull to the Test Environment"
                  input message: 'Ok to proceed?', submitter: 'TeamX'
          {code}
          When trying to proceed as a user without permissions there is no feed back as to why you cannot. 

          Trying to proceed as a user without permission on the overview page produces this error in Chrome Console
          {noformat}
          prototype.js:1585 POST http://localhost:8080/job/Testing%20gatling/66/wfapi/inputSubmit?inputId=475c6095275992ca689a7842929d7d8e 500 (Server Error){noformat}
          Trying to proceed on the 'Console Log' page produces this error in Chrome Console
          {noformat}
          prototype.js:1585 POST http://localhost:8080/job/Testing%20gatling/66/input/475c6095275992ca689a7842929d7d8e/proceedEmpty 400 (Bad Request){noformat}
          Going thru to 'Paused for input' on the left hand side (only seems to appear when looking at console log) and clicking proceed without permissions does a full page post and does show some more information.

          !image-2017-07-07-11-15-54-316.png!

          *NB:* You'll have the same problem (no feedback) even if you do not have a submitter if you are not logged in.
          New: When adding 'submitter' to an input message to limit the users who can accept the next stage 

          i.e. 
          {code:java}
           stage "Pull to the Test Environment"
                  input message: 'Ok to proceed?', submitter: 'TeamX'
          {code}
          When trying to proceed as a user without permissions there is no feed back as to why you cannot. 

          Trying to proceed as a user without permission on the overview page produces this error in Chrome Console
          {noformat}
          prototype.js:1585 POST http://localhost:8080/job/Testing%20gatling/66/wfapi/inputSubmit?inputId=475c6095275992ca689a7842929d7d8e 500 (Server Error){noformat}
          Trying to proceed on the 'Console Log' page produces this error in Chrome Console
          {noformat}
          prototype.js:1585 POST http://localhost:8080/job/Testing%20gatling/66/input/475c6095275992ca689a7842929d7d8e/proceedEmpty 400 (Bad Request){noformat}
          Going thru to 'Paused for input' on the left hand side (only seems to appear when looking at console log) and clicking proceed without permissions does a full page post and does show some more information.

          !image-2017-07-07-11-15-54-316.png!

          *NB:* You'll have the same problem (no feedback) even if you do not have a submitter if you are not logged in.

            Unassigned Unassigned
            aaronk36 Aaron Knott
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: