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.
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