Bug 844615

Summary: While creating a new user validation for case-opposite same names should be provided
Product: [Retired] Subscription Asset Manager Reporter: Tazim Kolhar <tkolhar>
Component: katelloAssignee: Eric Sammons <esammons>
Status: CLOSED NOTABUG QA Contact: Tazim Kolhar <tkolhar>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2CC: cwelton, esammons
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-17 18:06:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
create user name error none

Description Tazim Kolhar 2012-07-31 07:54:55 UTC
Created attachment 601464 [details]
create user name error

Description of problem:
While creating a new user using SAM UI, user name of already created user but
of opposite case (Lower case or Upper Case) is accepted
 
Version-Release number of selected component (if applicable):
[root@nec-em16 ~]# rpm -qa | grep katello
katello-cli-common-0.2.45-1.fc16.noarch
katello-glue-foreman-0.2.50-1.fc16.noarch
katello-glue-pulp-0.2.50-1.fc16.noarch
katello-selinux-0.2.6-1.fc16.noarch
katello-certs-tools-1.1.6-1.fc16.noarch
katello-configure-0.2.32-1.fc16.noarch
katello-glue-candlepin-0.2.50-1.fc16.noarch
katello-all-0.2.53-1.fc16.noarch
katello-common-0.2.50-1.fc16.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-0.2.45-1.fc16.noarch
katello-0.2.50-1.fc16.noarch
katello-repos-0.2.7-1.fc16.noarch


How reproducible:
yum install katello-all thumslug
katello-configure --deployment=headpin

Steps to Reproduce:
1.Log in UI
2.Navigate to Administer
3.Go to + New User
4.Provide the username,password,default organisation,emailid
5 Make sure name is same as already taken but of opposite case (Upper Case or Lower Case)
6.Create User


Actual results:
User is created

Expected results:

Validation should be provided refraning from creating the user
Additional info:

screen shot attached

Comment 1 Eric Sammons 2012-08-17 18:06:51 UTC
Closing as not a bug as most organizations will have a process in place for creating users and we should permit the customer the greatest amount of flexibility here.  Keep in mind most modern authentication engines (pam, ldap etc...) are case sensitive.