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:
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.
https://github.com/openshift/origin-web-catalog/pull/526
https://github.com/openshift/origin-web-console/pull/2368
Checked this issue on OCP v3.7.0-0.184.0, the create button disabled when viewer ordering templates. Changed status to verified.