Page MenuHomePhabricator

Some usernames are all lowercase, leading to inconsistent behavior with rights
Closed, DuplicatePublic

Description

Author: rlane32

Description:
When adding members to a project, the interface adds the user's input as the group member, rather than the CN value of the user's account. Though we ensure the value being added is valid, we aren't checking to ensure the case matches. The LDAP search for this attribute is case-insensitive, but we occasionally do case-sensitive checks in code, which leads to inconsistent behavior.

When adding users or any other reference to other objects in LDAP, we should fetch the object from LDAP and use the attribute's value.


Version: unspecified
Severity: normal

Details

Reference
bz50515

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:57 AM
bzimport set Reference to bz50515.

Seems this bug had been fixed quite a while back, but there is still an issue with usernames with all lowercase CNs. Retitling the bug.

Aklapper triaged this task as Lowest priority.Feb 16 2015, 2:24 PM
Aklapper subscribed.