Bug 1833433

Summary: Show inline alert with proper message in case user din't have RBAC access to any of eventSources
Product: OpenShift Container Platform Reporter: Jaivardhan Kumar <jakumar>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, nmukherj
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:36:23 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:
Attachments:
Description Flags
view
none
firefox none

Description Jaivardhan Kumar 2020-05-08 16:31:12 UTC
Description of problem:
Show inline alert with proper message in case user din't have RBAC access (creation access) to any of the eventSources or if there are no eventSources present(this is useful as with serverless GA KantiveEventing CRD would be present but user needs to create CR as well to see sources)

Prerequisites (if any, like setup, operators/versions):

Install Serverless operator
Create CRs for knativeServing and knativeEventing
Create a user without create access to any of the eventSources
Steps to Reproduce:
1. Login as user created above
2. Go to DevConsole -> Add -> EventSources

Actual results: User will see loading always in EventSources creation screen

Expected results: User should be shown inline alert and with proper message

Reproducibility (Always/Intermittent/Only Once): Always

Comment 3 Gajanan More 2020-05-21 06:53:48 UTC
Created attachment 1690520 [details]
view

Comment 4 Gajanan More 2020-05-21 06:55:56 UTC
Created attachment 1690522 [details]
firefox

Comment 5 Gajanan More 2020-05-21 06:56:52 UTC
I have validated the bugzilla on:
Build: 4.5.0-0.nightly-2020-05-20-235311
Browser: Google Chrome Version 81.0.4044.129
Please have a look at the screenshot shared
Marking this as verified.

Comment 6 errata-xmlrpc 2020-07-13 17:36:23 UTC
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:2409