[forwardport v2.8.next1] Global permissions on UI are in a random order
This is a forwardport issue for #11010, automatically created via GitHub Actions workflow initiated by @richard-cox
Original issue body:
Setup
- Rancher version: v2.7.13-rc4
- Rancher UI Extensions:
release-2.7 d14964b0d - Browser type & version: Chrome
Describe the bug Global permissions on the Users and authentication page, have the permissions in a different order.
To Reproduce
- Install rancher 2.7.13-rc4
- Navigate to users and authentication >> Users
- Create a user
- Notice the order of the global permissions
Result
Restricted Admin
User base
Administrator
Standard user
Expected Result Expected the order to be:
Administrator
Restricted Admin
Standard user
User base
Screenshots
Additional context: Do not see the issue on v2.7.12
Pushing to next release due to time as it's not a blocker anymore. We'll need to figure out where this regression came in since the code hasn't been changed in a long time.
Per https://github.com/rancher/dashboard/issues/11013, we may have a PR in 2.8.x already. https://github.com/rancher/dashboard/pull/11262 from @rak-phillip
@gaktive The inclusion of #11013 in #11262 was inadvertent and the link has been removed from the PR.
2.9 PR https://github.com/rancher/dashboard/pull/11306
I couldn't find references to a customer issue for this or the original issue https://github.com/rancher/dashboard/issues/11010.
As it's fixed in newer versions there's no need to backport