Bug 1774842
Summary: | "Rebuild" item is disabled for common user | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yanping Zhang <yanpzhan> | ||||
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> | ||||
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.3.0 | CC: | aos-bugs, jokerman | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.4.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Previously, the "Rebuild" action on the OpenShift console Build page was incorrectly disabled for users who were not cluster-admin. This has been fixed, and the action is now correctly enabled for normal users who should have permission to clone builds.
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 1774843 1779316 (view as bug list) | Environment: | |||||
Last Closed: | 2020-05-04 11:16:09 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1774843, 1779316 | ||||||
Attachments: |
|
I was able to reproduce, but not reliably. Does the action become enabled for you when refreshing the page? I suspect we're racing. We make the self subject access review request too soon after the resource was created. Lowering the severity because this only happens immediately after creating the build and there's a simple workaround. From my test, it's not only happens immediately after creating the build. The "Rebuild" item would not be enabled after refresh page, even after waiting for a long time. According Comment 3 and the bug blocks our auto process, I'd like to raising the bug severity level. I'm mistaken. The access review check is wrong. https://github.com/openshift/console/pull/3649 has the fix. Thanks, Yanping. Tested on ocp 4.3 with payload version 4.4.0-0.nightly-2019-12-14-103510, now the "Rebuild" item on build action/kebab list is enabled, and clicking on the "Rebuild" will trigger a new build. The bug is fixed, so move it 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-2020:0581 |
Created attachment 1638307 [details] rebuild-item Description of problem: Common user tries to rebuild a build by click "Rebuild" item in action list from console. The "Rebuild" item is gray and disabled. Version-Release number of selected component (if applicable): 4.3.0-0.nightly-2019-11-19-122017 How reproducible: Always Steps to Reproduce: 1.Common user creates app in project, after starts a build, tries to rebuild the build by click "Rebuild" item in action list. 2. 3. Actual results: 1.The "Rebuild" item is gray and disabled. Expected results: 1."Rebuild" should be enabled and user could rebuild successfully. Additional info: Cluster-admin user could rebuild successfully.