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

When I assign users to roles, changes are not applied until Jenkins restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: role-strategy-plugin
    • Labels:
      None
    • Environment:
      Java VM: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1
      Jenkins version: 2.221
      Role-based strategy plugin version: 2.16
      Active directory plugin: 2.16
    • Similar Issues:
    • Released As:
      Role Strategy 3.1

      Description

      INITIAL STATE:

      Users are logged using LDAP server (Active Directory Plugin).

      Permissions are given using Role-based strategy.

      Global roles and item roles have been created.

      A certain user is assigned a global role and certain item roles.

       

      STEPS TO REPRODUCE:

      1. Go to Jenkins administration > Manage and Assign Roles > Assign Roles.
      2. Change item roles for a specific user (check the box for a new item rol or uncheck).
      3. At the bottom of the page, click on Apply and Save.
      4. Log out and log in with that specific user you changed his roles.
      5. The user has the old permissions.
      6. Restart Jenkins.
      7. Log in again with that specific user.
      8. The user has the new permissions.

        Attachments

          Issue Links

            Activity

            jorgeksas Jorge Casas created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ] Hui Jun Ng [ blanked ]
            oleg_nenashev Oleg Nenashev made changes -
            Released As Role Strategy 3.1
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-62219 [ JENKINS-62219 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue relates to JENKINS-61508 [ JENKINS-61508 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-61425 [ JENKINS-61425 ]

              People

              Assignee:
              blanked Hui Jun Ng
              Reporter:
              jorgeksas Jorge Casas
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: