Bug 1577359
| Summary: | Create Project button shows up on project listing even if you do not have permissions to create a project | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Chris Kim <chrkim> |
| Component: | Management Console | Assignee: | Samuel Padgett <spadgett> |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.10.0 | CC: | aos-bugs, jforrest, jokerman, mmccomas, xxia, yapei |
| Target Milestone: | --- | ||
| Target Release: | 3.9.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
The "Create Project" button was incorrectly displayed to users when they had no projects and self provisioning had been disabled on the projects list page of the web console. The action would always fail, so the button should have been hidden.
The bug has been fixed, and "Create Project" is now correctly hidden in the console when self-provisioning is disabled.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-06 15:46:20 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
Chris Kim
2018-05-11 19:19:57 UTC
Fixed by https://github.com/openshift/origin-web-console/pull/2994 > Set window.OPENSHIFT_CONSTANTS.DISABLE_SERVICE_CATALOG_LANDING_PAGE = true Note this is not a documented / supported setting and will likely disappear in a future release. Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/695f304daff49dc9acbc73c34750bf048347ee17 Merge pull request #2994 from spadgett/empty-state-projects-btn Bug 1577359 - Check canCreate in projects empty state message 1. Remove self-provisioner from system:authenticated:oauth 2. Login and open /console/projects page(Project list page) No "Create Project" button Issue fixed on v3.9.30 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:1796 |