Bug 1044433

Summary: Can still see upgrade plan related info after set user can't upgrade with oo-admin-ctl-user
Product: OpenShift Online Reporter: Tian Feng <tfeng>
Component: WebsiteAssignee: Jordan Liggitt <jliggitt>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: jliggitt, xtian, yujzhang
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: 2014-02-26 19:09:01 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:

Description Tian Feng 2013-12-18 10:20:07 UTC
Description of problem:
Using oo-admin-ctl-user to set user can't upgrade. Then check upgrade plan related info, like upgrade plan button under account button, and "upgrade your plan" on creating application page & adding SSL page. The link and button are still existed, but just can't direct to plan page.

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

How reproducible:
Always

Steps to Reproduce:
1. Set user can't upgrade using `oo-admin-ctl-user --allowplanupgrade false -l $account`
2. Check upgrade plan related info like upgrade plan button and "upgrade your plan" link on creating application page & adding SSL page
3.

Actual results:
The button and link are all existed, but can't direct to plan page.

Expected results:
The button and link are not allowed to exist.

Additional info:

Comment 1 Jordan Liggitt 2014-01-28 20:25:30 UTC
Will honor plan_upgrade_enabled flag in https://github.com/openshift/li/pull/2314

Comment 2 openshift-github-bot 2014-01-29 23:12:15 UTC
Commit pushed to master at https://github.com/openshift/li

https://github.com/openshift/li/commit/ab4014a9842abfa3371e4247505e6876676a1a47
Fix bug 1044433: Honor plan_upgrade_enabled capability

Comment 3 Yujie Zhang 2014-01-30 05:01:25 UTC
Tested on devenv_4302, the "Upgrade your plan" link will disappear after setting allowplanupgrade is false for the user, so verify this bug, thanks.