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

Poll permissions not recognized after upgrade

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

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

          Show
          danielbeck Daniel Beck added a comment - Which version are you upgrading from, and to which version?
          Hide
          danielbeck 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?

          Show
          danielbeck 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?
          Hide
          aik099 Alexander Obuhovich 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.

          Show
          aik099 Alexander Obuhovich 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.
          Hide
          aik099 Alexander Obuhovich 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.

          Show
          aik099 Alexander Obuhovich 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.
          Hide
          danielbeck 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.

          Show
          danielbeck 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.
          Hide
          aik099 Alexander Obuhovich added a comment -

          Thanks for figuring figuring that out.

          Show
          aik099 Alexander Obuhovich added a comment - Thanks for figuring figuring that out.
          Hide
          clausfod clausfod added a comment -

          Any news on this one ?

          Show
          clausfod clausfod added a comment - Any news on this one ?

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            aik099 Alexander Obuhovich
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: