Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1505712 - Should disable the create button for the viewer user when ordering template
Should disable the create button for the viewer user when ordering template
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.7.0
Unspecified Unspecified
low Severity medium
: ---
: 3.7.0
Assigned To: Samuel Padgett
Yadan Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-24 03:19 EDT by shahan
Modified: 2017-11-28 03:28 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-10-31 08:58:50 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description shahan 2017-10-24 03:19:48 EDT
Description of problem:
Should disable the create button for the viewer user when ordering template

 
Version-Release number of selected component (if applicable):
   v3.7.0-0.176.0

How reproducible:
   Always

Steps to Reproduce:
1. Use user1 create project named pro1.
2. oc policy add-role-to-user view user2 -n pro1 
3. Login web console with user2 and click one template, such as MySQL (Persistent).
4. select project pro1 in the opened panel,then click create button.

Actual results:
 Will prompt the error: An error occurred processing the template.

Expected results:
 The create button should disable like when ordering images.

Additional info:
Comment 1 Samuel Padgett 2017-10-24 08:08:27 EDT
This only happens when a project is preselected. The onSelectProjectChange method is called before the form is initialized in the view, so the `$setValidity` call never happens.
Comment 5 shahan 2017-10-31 01:02:24 EDT
Checked this issue on OCP v3.7.0-0.184.0, the create button disabled when viewer ordering templates. Changed status to verified.

Note You need to log in before you can comment on or make changes to this bug.