• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • _unsorted
    • None
    • Platform: All, OS: All

      It would be helpful if there was a way to allow/deny access to the artifacts
      published with a build using Hudson's matrix-based security. We'd like to make
      our Hudson have anonymous access to show the status of the builds, but we do not
      want the artifacts to be able to be downloaded.

          [JENKINS-1871] Add a new Artifacts permissions

          Code changed in hudson
          User: : rseguy
          Path:
          trunk/hudson/main/core/src/main/java/hudson/Functions.java
          trunk/hudson/main/core/src/main/java/hudson/model/Run.java
          trunk/hudson/main/core/src/main/resources/hudson/model/AbstractBuild/index.jelly
          trunk/hudson/main/core/src/main/resources/hudson/model/AbstractProject/main.jelly
          trunk/hudson/main/core/src/main/resources/hudson/model/ExternalRun/sidepanel.jelly
          trunk/hudson/main/core/src/main/resources/hudson/model/Messages.properties
          trunk/hudson/main/core/src/main/resources/hudson/model/Run/artifacts-index.jelly
          trunk/hudson/main/core/src/main/resources/lib/hudson/artifactList.jelly
          trunk/hudson/main/maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/index.jelly
          http://jenkins-ci.org/commit/34172
          Log:
          [FIXED JENKINS-1871]

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : rseguy Path: trunk/hudson/main/core/src/main/java/hudson/Functions.java trunk/hudson/main/core/src/main/java/hudson/model/Run.java trunk/hudson/main/core/src/main/resources/hudson/model/AbstractBuild/index.jelly trunk/hudson/main/core/src/main/resources/hudson/model/AbstractProject/main.jelly trunk/hudson/main/core/src/main/resources/hudson/model/ExternalRun/sidepanel.jelly trunk/hudson/main/core/src/main/resources/hudson/model/Messages.properties trunk/hudson/main/core/src/main/resources/hudson/model/Run/artifacts-index.jelly trunk/hudson/main/core/src/main/resources/lib/hudson/artifactList.jelly trunk/hudson/main/maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/index.jelly http://jenkins-ci.org/commit/34172 Log: [FIXED JENKINS-1871]

          Romain Seguy added a comment -

          The Artifacts permission has been added to 1.374-SNAPSHOT. It is not available by default: To get the Artifacts permission in the security matrix (and elsewhere), it is required to set the hudson.security.ArtifactsPermission system property to true. See http://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

          Romain Seguy added a comment - The Artifacts permission has been added to 1.374-SNAPSHOT. It is not available by default: To get the Artifacts permission in the security matrix (and elsewhere), it is required to set the hudson.security.ArtifactsPermission system property to true . See http://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

          dogfood added a comment -

          Integrated in hudson_main_trunk #225
          [FIXED JENKINS-1871]

          rseguy :
          Files :

          • /trunk/hudson/main/core/src/main/java/hudson/Functions.java
          • /trunk/hudson/main/core/src/main/resources/hudson/model/ExternalRun/sidepanel.jelly
          • /trunk/hudson/main/core/src/main/resources/hudson/model/AbstractBuild/index.jelly
          • /trunk/hudson/main/core/src/main/resources/lib/hudson/artifactList.jelly
          • /trunk/hudson/main/core/src/main/resources/hudson/model/Run/artifacts-index.jelly
          • /trunk/hudson/main/core/src/main/java/hudson/model/Run.java
          • /trunk/hudson/main/core/src/main/resources/hudson/model/AbstractProject/main.jelly
          • /trunk/hudson/main/core/src/main/resources/hudson/model/Messages.properties
          • /trunk/hudson/main/maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/index.jelly

          dogfood added a comment - Integrated in hudson_main_trunk #225 [FIXED JENKINS-1871] rseguy : Files : /trunk/hudson/main/core/src/main/java/hudson/Functions.java /trunk/hudson/main/core/src/main/resources/hudson/model/ExternalRun/sidepanel.jelly /trunk/hudson/main/core/src/main/resources/hudson/model/AbstractBuild/index.jelly /trunk/hudson/main/core/src/main/resources/lib/hudson/artifactList.jelly /trunk/hudson/main/core/src/main/resources/hudson/model/Run/artifacts-index.jelly /trunk/hudson/main/core/src/main/java/hudson/model/Run.java /trunk/hudson/main/core/src/main/resources/hudson/model/AbstractProject/main.jelly /trunk/hudson/main/core/src/main/resources/hudson/model/Messages.properties /trunk/hudson/main/maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/index.jelly

            rseguy Romain Seguy
            skraut skraut
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: