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.

          [JENKINS-20520] Save after PermissionAdder.add called

          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

          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

          Daniel Beck added a comment -

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

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

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

              Created:
              Updated:
              Resolved: