Skip to content

Mixed-case usernames break user portal permissions #7482

@mrmarkuz

Description

@mrmarkuz

When the openldap "administrator" user logs in using a capital letter in the name like "Administrator" he can login but doesn't have the permission to see the "Users & Groups" entry.
Also a user "Foo" (capital "F") that's member of the domain admins can't see the "Users & Groups" when logged in as "foo" (lower case)

Steps to reproduce

  • Create openldap user domain
  • By default a user "administrator" (lower case) is created
  • Login to the user portal as "Administrator" (first upper case capital)

Expected behavior

The logged on user can see the "Users & Groups" menu as he is in the domain admins group.

Actual behavior

The logged on user can't see the "Users & Groups"

Components

  • core 3.8.0
  • openldap 2.3.1

Thanks to @nrauso

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions