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

Poll permissions not recognized after upgrade

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • pollscm-plugin
    • None

      I've set "Poll" permissions under "Manage Jenkins > Configure Global Security" section to allow regular users to poll SVN repository for changes. This works flawlessly.

      However, when I upgrade Jenkins then all Poll permissions disappear and I see "Manage Old Data" dialog telling me that XML part of configuration where Poll permissions are stored can't be read properly.

          [JENKINS-24776] Poll permissions not recognized after upgrade

          Daniel Beck added a comment -

          Which version are you upgrading from, and to which version?

          Daniel Beck added a comment - Which version are you upgrading from, and to which version?

          Daniel Beck added a comment -

          Please provide the full output of the /systemInfo URL, both before and after upgrading.

          What SCM plugin (e.g. Git, Mercurial, Subversion, Perforce, p4, ...) are you using?

          Daniel Beck added a comment - Please provide the full output of the /systemInfo URL, both before and after upgrading. What SCM plugin (e.g. Git, Mercurial, Subversion, Perforce, p4, ...) are you using?

          bfhzog6i added a comment - - edited

          Please provide the full output of the /systemInfo URL, both before

          I wonder how it's possible knowing that I've already upgraded.

          What SCM plugin (e.g. Git, Mercurial, Subversion, Perforce, p4, ...) are you using?

          Subversion.

          Please provide the full output of the /systemInfo URL, after upgrading.

          See large screenshot of 4 parts attached.

          bfhzog6i added a comment - - edited Please provide the full output of the /systemInfo URL, both before I wonder how it's possible knowing that I've already upgraded. What SCM plugin (e.g. Git, Mercurial, Subversion, Perforce, p4, ...) are you using? Subversion. Please provide the full output of the /systemInfo URL, after upgrading. See large screenshot of 4 parts attached.

          bfhzog6i added a comment - - edited

          Which version are you upgrading from, and to which version?

          I was upgrading from 1.578 to 1.580.

          It's possible that such problem existed all the time, but I only recently (several months ago) started to set Poll permission to users.

          bfhzog6i added a comment - - edited Which version are you upgrading from, and to which version? I was upgrading from 1.578 to 1.580. It's possible that such problem existed all the time, but I only recently (several months ago) started to set Poll permission to users.

          Daniel Beck added a comment -

          Not a core issue, but clearly a bug in the plugin:

          Core docs: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/security/Permission.java#L139
          Plugin violating core rule: https://github.com/jenkinsci/pollscm-plugin/blob/master/src/main/java/org/jenkinsci/plugins/pollscm/PollNowAction.java#L82

          The plugin may or may not work depending on the order in which Jenkins loads classes.

          Daniel Beck added a comment - Not a core issue, but clearly a bug in the plugin: Core docs: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/security/Permission.java#L139 Plugin violating core rule: https://github.com/jenkinsci/pollscm-plugin/blob/master/src/main/java/org/jenkinsci/plugins/pollscm/PollNowAction.java#L82 The plugin may or may not work depending on the order in which Jenkins loads classes.

          bfhzog6i added a comment -

          Thanks for figuring figuring that out.

          bfhzog6i added a comment - Thanks for figuring figuring that out.

          clausfod added a comment -

          Any news on this one ?

          clausfod added a comment - Any news on this one ?

            Unassigned Unassigned
            aik099 bfhzog6i
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: