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

Overall/Administer permission seems to be required for linting

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It seems that the Overall/Administer permission is required to perform:

      ssh -p ${JENKINS_PORT} ${USERNAME}@${JENKINS_HOST} declarative-linter < pipeline
      

      Without this permission the following output is generated:

      ERROR:${USERNAME} is missing the N/A/GenericRead permission
      

      It seems there is no way to allow non-administrators to perform this action.

        Attachments

          Issue Links

            Activity

            wouterh Wouter Hünd created issue -
            Hide
            allan_burdajewicz Allan BURDAJEWICZ added a comment -

            I wonder if this could be due to the use of hudson.security.Permission.READ. Shouldn't this be hudson.model.Hudson.Read instead ?

            Show
            allan_burdajewicz Allan BURDAJEWICZ added a comment - I wonder if this could be due to the use of hudson.security.Permission.READ . Shouldn't this be hudson.model.Hudson.Read instead ?
            Show
            abayer Andrew Bayer added a comment - PR up at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/165
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Remote Link This issue links to "PR #165 (Web Link)" [ 17201 ]
            abayer Andrew Bayer made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            abayer Andrew Bayer made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            abayer Andrew Bayer made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/DeclarativeLinterCommand.java
            pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/DeclarativeLinterCommandTest.java
            http://jenkins-ci.org/commit/pipeline-model-definition-plugin/70c91e138da4f2a65dd9f759ac188a77459b5ebf
            Log:
            [FIXED JENKINS-43071] Use Jenkins.READ perms for linter

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/DeclarativeLinterCommand.java pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/DeclarativeLinterCommandTest.java http://jenkins-ci.org/commit/pipeline-model-definition-plugin/70c91e138da4f2a65dd9f759ac188a77459b5ebf Log: [FIXED JENKINS-43071] Use Jenkins.READ perms for linter
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2366 (Web Link)" [ 18335 ]

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                wouterh Wouter Hünd
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: