stable

Clone or download

Read-only

request #12406 User autocomplete mix users when a ldap id is the same than a tuleap user id

How to reproduce: Create a Tuleap LDAP user test. Renaming him to test2 Create a new user with tuleap login test You should have somthing like the table below for your users: | tuleap login | LDAP login | | test2 | test | | test | mytestuser | Add test2 to project members, then add test Do the opposite add test then add test2 You should never see that user is already project members Change-Id: I86adab5ec41f0b3b735fa540326afc15867fd566

Modified Files

Name
A src/common/project/Admin/ProjectMembers/ProjectMemberAutocompleteValueExtractor.php +56 −0 Go to diff View file
M src/common/project/Admin/ProjectMembers/ProjectMembersController.php +26 −15 Go to diff View file
M src/www/project/admin/members.php +3 −1 Go to diff View file
M src/www/user/autocomplete.php +3 −1 Go to diff View file
A tests/phpunit/common/Project/Admin/ProjectMemberAutocompleteValueExtractorTest.php +70 −0 Go to diff View file