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

Whitespace entered during role assignments is handled inconsistently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • role-strategy-plugin
    • None
    • Jenkins ver. 2.166
      Role-based Authorization Strategy 2.10
    • Role Strategy 2.16

      I have copy pasted user login when assigning user to a role. It went with some whitespace around it. I was able to add user like this just fine. Entry was resolved to full user name as expected but permissions granted to the user are not applied by Jenkins. 

      Seems like user check should be consistent with permission application to the user. I would probably vote for trim of whitespace from entered user name. Or it should not be bale to resolve the user. Or at least display warning there is whitespace in login and results can be weird.

            oleg_nenashev Oleg Nenashev
            anton_wiedermann Anton Wiedermann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: