-
Notifications
You must be signed in to change notification settings - Fork 282
Description
SURE-9751
Setup
- Rancher version: 2.9.6
- Rancher UI Extensions: None
- Browser type & version: Chrome 132.0.6834.160
Describe the bug
When selecting a checkbox next to a user to delete, often times the delete button will be grayed out. You click on another user, works fine. These users are identical other than their names. If you refresh the browser, the grayed out delete button will then be clickable. This is me trying to checkbox a bunch of users to delete:

Some deleted, some remain:

1.) Bug doesn't seem to be data-related. 2 users have almost the exact same YAML other than stuff like ID's and timestamps, and yet one can delete, the other can't.
2.) Bug is "fixed" by going into the user, then going back to the users screen.
3.) bug doesn't appear to be data related since we had an incognito window open on the same users screen, and on the other tab went into a user and then back out. Clicking over to the incognito window, the user still wasn't deletable.
4.) However, on the same browser tab, clicking into the user and back out seemingly fixes it.
5.) This isn't an issue on cluster manager, the /g endpoint. Works flawlessly.
TL;DR - this appears to be a browser-based code issue in cluster explorer specifically.
To Reproduce
Try deleting a user that is generated from a SSO auth provider.
Result
Can't delete random users, seemingly no pattern I can see.
Expected Result
I should be able to delete any and all users, like cluster manager allows me to.