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

Whitespace entered during role assignments is handled inconsistently

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: role-strategy-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.166
      Role-based Authorization Strategy 2.10
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              anton_wiedermann Anton Wiedermann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: