Bug 1312950

Summary: cannot create user when LDAP is configured
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Martin Kudlej <mkudlej>
Component: UIAssignee: sankarshan <sankarshan>
Status: CLOSED NOTABUG QA Contact: sds-qe-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2CC: nthomas, sankarshan
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-05 07:00:28 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:

Description Martin Kudlej 2016-02-29 15:31:42 UTC
Description of problem:
Is it not possible to create user. LDAP is configured. I think even if LDAP is configured it should be able to create new local user. OR implementation should follow PRD and do not allow local users at all so not even "admin" user.

Post data sent by UI:
{"username":"1","email":"1@1","firstname":"1","lastname":"1","groups":[],"role":"admin","password":"1"
,"notificationenabled":true}

Server response:
{"Error":"non-existant role"}

Version-Release number of selected component (if applicable):
rhscon-ceph-0.0.6-8.el7.x86_64
rhscon-core-0.0.8-7.el7.x86_64
rhscon-ui-0.0.16-1.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. configure LDAP
2. try to create new user

Comment 3 Nishanth Thomas 2016-05-05 07:00:28 UTC
This is the expected behaviour.
admin is the default user created by system, will be allowed in any cases.
if ldap is not configured all ldap related pages to be disbaled
This behaviour was discussed and agreed in sprint meetings