ResourceTabs and Events table crash if user has no permissions for event
schema
#13477
Labels
kind/bug
QA/dev-automation
Issues that engineers have written automation around so QA doesn't have look at this
status/release-blocker
Milestone
Setup
Describe the bug
headerFromSchemaColString
function throws undefined error ifschema
input field is null - for instance if a user has no permissions to fetch theevent
schema.The function is used to build Events table headers;
We need to add null checks for
event
schema.To Reproduce
project1
Workspace in Fleet as admin, and share it with the standard user: https://fleet.rancher.io/multi-user#isolated-workspaces-in-rancherproject1
.Result
The ResourceTab component crashes because the
eventSchema
is null:The text was updated successfully, but these errors were encountered: