Bug 807543

Summary: Keys with the same content can be added in website console.
Product: OKD Reporter: Yujie Zhang <yujzhang>
Component: WebsiteAssignee: Lili Nader <lnader>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 2.xCC: ffranz, mfisher, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-13 18:31:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yujie Zhang 2012-03-28 06:04:09 UTC
Description of problem:

Keys with different names but the same content can be added in website console now.

Version-Release number of selected component (if applicable):

devenv_1677

How reproducible:always


Steps to Reproduce:
1.Go to Openshif website and login
2.Go to app/account page and add an ssh key
3.Adding another key with different key name but the same content
  
Actual results:

Keys with the same content can be added in website console.

Expected results:

Keys with the same content should not be added in website console.

Additional info:

Comment 1 Fabiano Franz 2012-03-28 15:45:47 UTC
Hi Lili, take a look at this. Not sure if this is a bug or the desired behaviour, since the same happens using CLI. Rest API allows different key entries with the same content, right?

Comment 2 Fabiano Franz 2012-03-28 19:21:14 UTC
Assigning to Lili to check it on the Rest API.

Comment 3 Lili Nader 2012-03-28 21:24:19 UTC
fixed in new rest api.

Comment 4 Yujie Zhang 2012-03-29 05:02:24 UTC
(In reply to comment #3)
Tested this issue on devenv_1679, it has been fixed now, thanks~~