-
Notifications
You must be signed in to change notification settings - Fork 293
Description
Setup
- Rancher version: v2.13-head
- Rancher UI Extensions:
- Browser type & version: Version 140.0.7339.186 (Official Build) (arm64)
Describe the bug
When setting the option for Configure who should be able to login and use Rancher to either Allow members of cluster/projects plus authorized users & groups or Restrict access to only authorized users & groups options, the search bar does not automatically show the teams/orgs a user belongs to. Also, once a user/team/org has been selected the option to save is greyed out and doesn't actually save what is selected unless you click Edit config and re-enable the auth provider.
To Reproduce
- Deploy Rancher on v2.13-head
- Enable Github App auth provider
- Select either
Allow members of cluster/projects plus authorized users & groupsorRestrict access to only authorized users & groupsoption for configuring login - Click into the
Add Membersearch bar and observe the teams/orgs the user belongs to do not appear automatically - Search for a user/team/org and select them
- Observe the
Savebutton is greyed out and you cannot select it - Refresh the page (or navigate away from this page and return) and observe the selection for
Configure who should be able to login and use Rancherhas been set back toAllow any valid user. - Repeat step 5
- Click
Edit configand re-enable the auth provider - Observe that
Configure who should be able to login and use Rancheris set to the option chosen in the previous step and the selected user/team/org appears - Observe that when clicking in the
Add Membersearch bar the teams/orgs the user belongs to appear automatically
Result
You cannot save the configuration of authorized users and groups and have to edit the config and re-enable the auth provider in order to save the results. Also the teams/orgs the user belongs to do not appear in the search bar automatically initially, but they do upon re-enabling the auth provider.
Expected Result
The teams/orgs the user belongs to should appear automatically in the search bar and you should be able to select either option for Configure who should be able to login and use Rancher and save the results instead of having to edit the config and re-enable the auth provider.
Screenshots
Screen.Recording.2025-10-16.at.8.49.36.AM.mov
Additional context
Related to rancher/rancher#50517