Bug 1510786
| Summary: | Error info should be more precise when create app in project with view role | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yanping Zhang <yanpzhan> |
| Component: | Management Console | Assignee: | Jakub Hadvig <jhadvig> |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.7.0 | CC: | aos-bugs, jforrest, jhadvig, jokerman, mmccomas, spadgett, yapei |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | 3.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
Web console shows process template page to user without permissions to process templates.
Consequence:
The processing of the template will error out.
Fix:
Show an error page when the page loads saying that user doesn't have authority to process templates.
Result:
User without permissions to process template will be redirected to error page that will tell him that he doesn't have the permissions to process selected template.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-28 14:11:22 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: | |||
|
Description
Yanping Zhang
2017-11-08 09:02:30 UTC
Commits pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/fd4037640f038c8840a7ef5c1b60a857e35d58ae Bug 1510786 - Error info should be more precise when create app in project with view role https://github.com/openshift/origin-web-console/commit/721cde05fe8c386935adc209638700b2476dd228 Merge pull request #2481 from jhadvig/processtemp Automatic merge from submit-queue. Bug 1510786 - Error info should be more precise when create app in project with view role Instead of trying to send a request that will fail, we shouldn't show the "Create" button, if he doesn't have the permissions.  Not really sure if we shouldn't hide both `Create | Cancel` butwould rather keep the `Cancel` btn for the navigation. @spadgett PTAL When user have no permission to process template, a full error page will show when he tries to create app from URL Error Access denied You do not have authority to process templates in project <project-name>. Move to VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0489 |