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

Save after PermissionAdder.add called

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Probably GlobalMatrixAuthorizationStrategy.PermissionAdderImpl.add should call Jenkins.getInstance().save() before returning true. Otherwise adding ADMINISTER for the first user does not seem to take effect on disk until you resave the main configuration screen.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Beck
            Path:
            src/main/java/hudson/security/GlobalMatrixAuthorizationStrategy.java
            http://jenkins-ci.org/commit/matrix-auth-plugin/271cf2c34f3cb1a01765d077dab228044d8fcb96
            Log:
            [FIX JENKINS-20520] Save Jenkins after adding global user permission

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: src/main/java/hudson/security/GlobalMatrixAuthorizationStrategy.java http://jenkins-ci.org/commit/matrix-auth-plugin/271cf2c34f3cb1a01765d077dab228044d8fcb96 Log: [FIX JENKINS-20520] Save Jenkins after adding global user permission
            Hide
            danielbeck Daniel Beck added a comment -

            Fixed towards 1.8 (which looks more and more like a 2.0).

            Show
            danielbeck Daniel Beck added a comment - Fixed towards 1.8 (which looks more and more like a 2.0).

              People

              Assignee:
              danielbeck Daniel Beck
              Reporter:
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: