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

Roles not working after restart

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • role-strategy-plugin
    • Jenkins version 2.268
      Plugin version : 3.1
      Linux Redhat : 7.3

    Description

      I install plugin and configure admin user. It works fine. 

      But when I restart Jenkins, admin users keep having admin role but admin stuffs not accessible, I get an access denied error. 

      I get the same problem with any other configured user. Users keeping their roles in config but Jenkins (the plugin) doesn't give access to any role. 

      User are managed using : "Jenkins Own User Database"

      In other to make it work, I need to kill Jenkins, delete config.xml file and restart it again with new configuration. 

      With version 3.0, Jenkins fails to start. 

      Thank you for helping. 

      Attachments

        Activity

          sylye sy added a comment -

          I am facing the same issue.

          After I restart jenkins, the role is still there, and assignment of role to user still the same, but every user logged in will get the same 'Access Denied' error where it gives message 'xxx is missing the Overall/Read permission'

          Plugin : 3.1.1
          Jenkins: 2.289.1
          OS: Amazon Linux 2

          sylye sy added a comment - I am facing the same issue. After I restart jenkins, the role is still there, and assignment of role to user still the same, but every user logged in will get the same 'Access Denied' error where it gives message 'xxx is missing the Overall/Read permission' Plugin : 3.1.1 Jenkins: 2.289.1 OS: Amazon Linux 2

          People

            oleg_nenashev Oleg Nenashev
            bilal_1984 Bilal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: