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

Hudson 1.284, 1.285 project based security fails.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • None
    • Platform: All, OS: All

      I'm unable to save the settings on a per-project basis

      To reproduce the use:

      1) From the "Configure System" screen select "Project-based Matrix Authorization
      Strategy"
      2) From the project configuration screen select "Enabled project-based security"
      3) On the Anonymous user settings enable "build"
      4) hit save.

      Nothing is written to the project build.xml file to indicate which settings were
      selected (build should be saved) to save although the useProjectSecurity XML
      element is defined and set to "true".

          [JENKINS-3116] Hudson 1.284, 1.285 project based security fails.

          Alan Harder added a comment -

          confirmed still true on current svn (r15774).. raised to p2.

          Alan Harder added a comment - confirmed still true on current svn (r15774).. raised to p2.

          Alan Harder added a comment -

          I don't know the exact cause, but the problem was introduced in r15368.

          Alan Harder added a comment - I don't know the exact cause, but the problem was introduced in r15368.

          Alan Harder added a comment -

          oh, now I see that kohsuke made those changes, huybrechts just merged them into
          trunk.. changing cc.

          Alan Harder added a comment - oh, now I see that kohsuke made those changes, huybrechts just merged them into trunk.. changing cc.

          Alan Harder added a comment -

          looks like a conflict between applyNameRef being called by f:rowSet AND
          f:optionalBlock, and the change in hudson-behavior.js in r15368 broke this part
          of the form. That change was about nested f:rowSet, but here we have
          optionalBlock nested in a rowSet. kohsuke, how to fix this?

          Alan Harder added a comment - looks like a conflict between applyNameRef being called by f:rowSet AND f:optionalBlock, and the change in hudson-behavior.js in r15368 broke this part of the form. That change was about nested f:rowSet, but here we have optionalBlock nested in a rowSet. kohsuke, how to fix this?

          Alan Harder added a comment -
              • Issue 3171 has been marked as a duplicate of this issue. ***

          Alan Harder added a comment - Issue 3171 has been marked as a duplicate of this issue. ***

          Data loss issue. Bumping up the priority.

          Kohsuke Kawaguchi added a comment - Data loss issue. Bumping up the priority.

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/security/AuthorizationMatrixProperty.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=15951
          Log:
          [FIXED JENKINS-3116] Fixed in 1.288 with a regression test case.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/security/AuthorizationMatrixProperty.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=15951 Log: [FIXED JENKINS-3116] Fixed in 1.288 with a regression test case.

            kohsuke Kohsuke Kawaguchi
            stormcloud stormcloud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: