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

Add credentials data to API for "permissions"

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • None
    • pannonian, iapetus, 1.0

      Add data about user's credentials permissions to the overall User.permission object, e.g.

      {
          "_class": "io.jenkins.blueocean.service.embedded.rest.UserImpl",
          "_links": ...,
          "avatar": null,
          "email": "admin@foo.bar",
          "fullName": "Admin",
          "id": "admin",
          "permission": {
              "_class": "io.jenkins.blueocean.service.embedded.rest.UserImpl$2",
              "administrator": true,
              "pipeline": {
                  "start": true,
                  "create": true,
                  "read": true,
                  "stop": true
              },
              "credential": {
                  "create": true,
                  "update": true,
                  "read": true,
                  "delete": true,
              }
          }
      }
      

            vivek Vivek Pandey
            cliffmeyers Cliff Meyers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: