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

Log warning message if user is not allowed to proceed an input step

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently, if a user is not authorized to push the Proceed button for an input step, Pipeline logs don't show anything.

      It would make sense to have a warning to:

      • let the user know they don't have the rights to proceed.
      • know who wants/try to proceed

      Note: This is actually reported in the Blue Ocean's UI, just not in the Pipeline console output (Jenkins UI).

        Attachments

          Activity

          allan_burdajewicz Allan BURDAJEWICZ created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 171365 ] JNJira + In-Review [ 184273 ]
          abayer Andrew Bayer made changes -
          Component/s pipeline-general [ 21692 ]
          abayer Andrew Bayer made changes -
          Component/s workflow-plugin [ 18820 ]
          jglick Jesse Glick made changes -
          Component/s pipeline-input-step-plugin [ 21708 ]
          Component/s pipeline [ 21692 ]
          jamesdumay James Dumay made changes -
          Labels cloudbees-internal-pipeline
          michaelneale Michael Neale made changes -
          Component/s pipeline [ 21692 ]
          michaelneale Michael Neale made changes -
          Assignee Jesse Glick [ jglick ]
          Hide
          abayer Andrew Bayer added a comment -

          The user still gets feedback in the UI that they're not authorized, right?

          Show
          abayer Andrew Bayer added a comment - The user still gets feedback in the UI that they're not authorized, right?
          Hide
          allan_burdajewicz Allan BURDAJEWICZ added a comment -

          Andrew Bayer The failure message is actually reported in Blue Ocean's UI but not in the Pipeline console output (Jenkins UI). Might have something to do with the way the Failure exception is handled: https://github.com/jenkinsci/pipeline-input-step-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java#L236-L264

          Show
          allan_burdajewicz Allan BURDAJEWICZ added a comment - Andrew Bayer The failure message is actually reported in Blue Ocean's UI but not in the Pipeline console output (Jenkins UI). Might have something to do with the way the Failure exception is handled: https://github.com/jenkinsci/pipeline-input-step-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java#L236-L264
          allan_burdajewicz Allan BURDAJEWICZ made changes -
          Attachment blue-ocean-message.png [ 42730 ]
          allan_burdajewicz Allan BURDAJEWICZ made changes -
          Description Currently, if a user is not authorized to push the _Proceed_ button for an _input_ step, Pipeline logs don't show anything.

          It would make sense to have a warning to:
          * let the user know they don't have the rights to proceed.
          * know who wants/try to proceed
          Currently, if a user is not authorized to push the _Proceed_ button for an _input_ step, Pipeline logs don't show anything.

          It would make sense to have a warning to:
          * let the user know they don't have the rights to proceed.
          * know who wants/try to proceed

          Note: This is actually reported in the Blue Ocean's UI, just not in the Pipeline console output (Jenkins UI).

            People

            • Assignee:
              Unassigned
              Reporter:
              allan_burdajewicz Allan BURDAJEWICZ
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: