"Refresh from LDAP" link on the User and Group forms will error when the LDAP server is configured to use a mid server even when normal imports work correctly
Steps to Reproduce
- Ensure you have configured an LDAP server that uses a Mid server.
- Open a record that has been imported by the LDAP
- Click "Refresh from LDAP"
You will see an error:
The "Refresh from LDAP" functionality is not supported if the LDAP is configured to use the mid server. Please note the normal imports using the data sources will work correctly.
To avoid this limitation, you can remove the "Refresh from LDAP" link. To achieve this, open the UI Action from the sys_user/sys_user_group and change the conditions"
Open the following UI Actions:
Change condition to:
!current.source.isNil() && gs.hasRole('admin') && current.ldap_server.mid_server.isNil()
Related Problem: PRB608928