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

Per-job access control

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • _unsorted
    • None
    • Platform: All, OS: All

    Description

      I would use HUDSON for building our product and have to different categories of
      builds.
      1. a daily continuous build: scheduled twice during the day to find compile
      errors as fast as possible; this job is scheduled but should be started also by
      an developer
      2. a nightly release build; this job executes a more complicated script to build
      a complete release package of our product; this build should be made only by the
      buildmaster (at a scheduled time) but not from a developer.

      So would like to have a security permission for Job/build for each job.

      Attachments

        Issue Links

          Activity

            Code changed in hudson
            User: : kohsuke
            Path:
            trunk/www/changelog.html
            http://fisheye4.cenqua.com/changelog/hudson/?cs=10994
            Log:
            [FIXED JENKINS-1573 JENKINS-1915 JENKINS-1504 JENKINS-1914]
            Noting the changes merged into the trunk in Hudson 1.237.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=10994 Log: [FIXED JENKINS-1573 JENKINS-1915 JENKINS-1504 JENKINS-1914] Noting the changes merged into the trunk in Hudson 1.237.
            schmieder schmieder added a comment -

            I'm using Hudson Version 1.245 and want to use project based security. When I
            set an user as "administrator" (all rights enabled for that project) for a
            project he is not able to configure source code management:
            org.acegisecurity.providers.UsernamePasswordAuthenticationToken@72cc231a:
            Username: hudson.security.HudsonPrivateSecurityRealm$Details@3e584d; Password:
            [PROTECTED]; Authenticated: true; Details:
            org.acegisecurity.ui.WebAuthenticationDetails@7798: RemoteIpAddress:
            53.141.217.18; SessionId: 5E72D70773BEE41BBFF9C1F51B1BCEA2; Granted Authorities:
            authenticated is missing Administer
            If I give him the "Administer" right in system configuration, he is able to
            configure source code management in project but also can configure the whole hudson

            schmieder schmieder added a comment - I'm using Hudson Version 1.245 and want to use project based security. When I set an user as "administrator" (all rights enabled for that project) for a project he is not able to configure source code management: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@72cc231a: Username: hudson.security.HudsonPrivateSecurityRealm$Details@3e584d; Password: [PROTECTED] ; Authenticated: true; Details: org.acegisecurity.ui.WebAuthenticationDetails@7798: RemoteIpAddress: 53.141.217.18; SessionId: 5E72D70773BEE41BBFF9C1F51B1BCEA2; Granted Authorities: authenticated is missing Administer If I give him the "Administer" right in system configuration, he is able to configure source code management in project but also can configure the whole hudson
            clemp6r clemp6r added a comment -
                • Issue 1199 has been marked as a duplicate of this issue. ***
            clemp6r clemp6r added a comment - Issue 1199 has been marked as a duplicate of this issue. ***

            Somehow this issue wasn't closed even though I wrote [FIXED] in the token!

            kohsuke Kohsuke Kawaguchi added a comment - Somehow this issue wasn't closed even though I wrote [FIXED] in the token!
            tofuatjava Thomas Fürer added a comment -

            works fine

            tofuatjava Thomas Fürer added a comment - works fine

            People

              Unassigned Unassigned
              tofuatjava Thomas Fürer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: