rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
462 stars 261 forks source link

Dashboard auth [FreeIPA, openLDAP and AD] Edit config issues #2253

Closed anupama2501 closed 3 years ago

anupama2501 commented 3 years ago

Following are the two issues seen with edit config LDAP auth providers:

Rancher | v2.5-2ec02e753d1c5c428b8eff9681ad3f72553829aa-head User Interface | v2.5-dev Helm | v2.16.8-rancher1 Machine | v0.15.0-rancher49

1. LDAP edit config is not working after the auth is enabled

LDAP auths [openLDAP, freeIPA and AD] edit config, after the auth is enabled is not taking to the edit screen:

After giving edit config, following is the screen where options to edit the screen are missing:

Screen Shot 2021-01-27 at 10 43 51 AM

No error is seen in the API calls:

Screen Shot 2021-01-27 at 10 49 36 AM Screen Shot 2021-01-27 at 10 48 11 AM

On ember UI after enabling the auth, edit config will be taken to the following

Screen Shot 2021-01-27 at 10 54 46 AM Screen Shot 2021-01-27 at 10 54 37 AM

2. Allow any valid user shouldn't have text box to add users as all users are allowed:

Screen Shot 2021-01-27 at 3 10 40 PM

On ember UI:

Screen Shot 2021-01-27 at 3 11 50 PM
anupama2501 commented 3 years ago

2114

anupama2501 commented 3 years ago

Verified the issue on

Rancher | v2.5-05fbcbb75ba84a80c5aaa243985e892c52b9ac32-head User Interface | v2.5-dev Helm | v2.16.8-rancher1 Machine | v0.15.0-rancher51

Issue 1: LDAP edit config is not working after the auth is enabled From the dashbord auth providers, select AD/FreeIPA/OpenLDAP Enable the auth for AD/FreeIPA/OpenLDAP Once saved, click on Edit Config option, able to edit the config and verified the config saved.

Issue 2. Allow any valid user shouldn't have text box to add users as all users are allowed: From the dashboard auth providers, select AD/FreeIPA/OpenLDAP Enable the auth. From the "Configure who should be able to login and use Rancher" after saving the above config, text box for "Allow any valid users is not see" for AD/FreeIPA/OpenLDAP

Screen Shot 2021-02-16 at 4 42 16 PM