• 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

          skraut created issue -
          Romain Seguy made changes -
          Assignee New: Romain Seguy [ rseguy ]
          Romain Seguy made changes -
          Description Original: 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.
          New: 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.
          Summary Original: Add Artifacts to matrix-based security New: Add a new Artifacts permissions
          Romain Seguy made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          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]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          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
          Romain Seguy made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 131944 ] New: JNJira + In-Review [ 201049 ]

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

              Created:
              Updated:
              Resolved: