withCredentials is not honoring authorization role base strategy

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Environment:
      Jenkins 2.277.1
      Role-based Authorization Strategy 3.1
      Jenkins on GKE (kube version 1.17)

      When using withCredentials in a pipeline job the operation is successful even if the user don't have the Credentials Read policy.

      In my option users who don't have permission to read credentials shouldn't be able the read them in a job either.   

            Assignee:
            Unassigned
            Reporter:
            Ori
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: