Bug 1287989

Summary: Login as different user on a finished deployment does not enable any options
Product: Red Hat Quickstart Cloud Installer Reporter: Antonin Pagac <apagac>
Component: WebUIAssignee: jmagen <jmagen>
Status: CLOSED CURRENTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0CC: arubin, jmatthew
Target Milestone: TP2Keywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-03 19:14:23 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:
Bug Depends On:    
Bug Blocks: 1291836    

Description Antonin Pagac 2015-12-03 09:06:44 UTC
Description of problem:
When editing a finished deployment, I'm presented with the option to log out and then log into a different account. This works, but does not enable me to do any changes with the subscriptions, I can still only see the previously chosen Subscription Management Application, which is confusing, since it is only on the previous account and not on the currently logged-in one.
Maybe the option to log in as a different user should be disabled for finished deployments?

Version-Release number of selected component (if applicable):
RHCI-6.0-RHEL-7-20151201.t.0-RHCI-x86_64-dvd1.iso

How reproducible:
Always

Steps to Reproduce:
1. Do a complete successful deployment
2. On the Deployments page, choose to edit your deployment
3. Go to Subscription section, choose "You may logout and then login as a different user."
4. Log in as a different user
5. No options are enabled, no changes in the Subscriptions section can be made

Actual results:
Can log in as a different user but no other changes can be made

Expected results:
I should either be not allowed to log in as a different user, or this action should enable me to do some changes with the subscriptions

Additional info:

Comment 1 John Matthews 2015-12-03 15:41:39 UTC
Agree, when editing a deployment that has finished, it doesn't make sense to allow changing the subscription management assets.  

Is there any reason why we would allow editing anything in a finished deployment?  Seems like this should be disabled.

Comment 2 jmagen@redhat.com 2015-12-16 12:51:10 UTC
fixed
https://github.com/fusor/fusor/pull/570

Comment 3 Antonin Pagac 2016-01-25 13:42:42 UTC
I can still see the login form, but for finished deployment it is grayed-out. Marking as verified.

TP2 RC3
RHCI-6.0-RHEL-7-20160122.t.1-RHCI-x86_64-dvd1.iso