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

Allow downloading artifacts without anything else

      I would like to configure a job so that some users are only allowed to download artifacts from it but not see anything else, especially not the changes recorded by the SCM plugins (git or svn) and test results. In short, I want the opposite of what not granting the Artifacts permission does, if that is enabled.

      When not giving a user the Read permission for the job, they don't see the job at all, despite having the Discover (and Artifact) permission. The Discover permission doesn't seem to do anything on its own for authenticated users.

          [JENKINS-47968] Allow downloading artifacts without anything else

          Joachim Mairböck created issue -
          Joachim Mairböck made changes -
          Description Original: I would like to configure a job so that some users are only allowed to download artifacts from it but not see anything else, especially not the changes recorded by the SCM plugins (git or svn) and test results. In short, I want the opposite of what not granting the Artifacts permission does, if that is enabled.

          When not giving a user the Read permission for the job, they don't see the job at all, despite having the Discover (and Artifact) permission. The Discover permission doesn't seem to do anything on its own for autheticated users.
          New: I would like to configure a job so that some users are only allowed to download artifacts from it but not see anything else, especially not the changes recorded by the SCM plugins (git or svn) and test results. In short, I want the opposite of what not granting the Artifacts permission does, if that is enabled.

          When not giving a user the Read permission for the job, they don't see the job at all, despite having the Discover (and Artifact) permission. The Discover permission doesn't seem to do anything on its own for authenticated users.

          Daniel Beck added a comment -

          I doubt this will ever be implemented, and recommend going with an external artifact distribution mechanism instead.

          Daniel Beck added a comment - I doubt this will ever be implemented, and recommend going with an external artifact distribution mechanism instead.

          I would have expected that users which have the Discover and Artifacts permission, but not the Read Permission on a Job, to be able to see the job in the overview and download artifacts from it. The permissions which should support this are already there, there is no need for a new permission, imho.

          Joachim Mairböck added a comment - I would have expected that users which have the Discover and Artifacts permission, but not the Read Permission on a Job, to be able to see the job in the overview and download artifacts from it. The permissions which should support this are already there, there is no need for a new permission, imho.

          Daniel Beck added a comment -

          That's not what Discover does – it's a terrible approach to solving the problem of wanting to allow anon users with Overall/Read to log in to access an inaccessible job without giving them the generic 404 Not Found page. Basically, if we served user-friendly error pages that include a login link, there'd not be a use case left for this permission.

          Daniel Beck added a comment - That's not what Discover does – it's a terrible approach to solving the problem of wanting to allow anon users with Overall/Read to log in to access an inaccessible job without giving them the generic 404 Not Found page. Basically, if we served user-friendly error pages that include a login link, there'd not be a use case left for this permission.

            Unassigned Unassigned
            jmairboeck Joachim Mairböck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: