Github SCM "creation" returns unhandled 403 exception when user lacks "create job" permission

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Invoking the Github creation API as a user that lacks the "create job" permission returns a 403 error with the response body as a HTML page with the following content:

      <h1>Access Denied</h1>
      
      <p class="error">axltorvalds is missing the Job/Create permission</p>
      

      It should instead return a JSON response body with the appropriate errorCode and message properties populated.

      Eventually we will probably hide the entire Creation UI from users that lack the right role / permission so this is probably not a major issue from the UI's standpoint.

            Assignee:
            Vivek Pandey
            Reporter:
            Cliff Meyers
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: