Steps to reproduce:
- Go to Users->Authentication->LDAP settings.
- Add LDAP server.
- Go to Users->User groups
- Create user group with Frontend access LDAP, but leave LDAP server as default.
- Go back to Users->Authentication->LDAP settings.
- Observe list of LDAP servers.
Result:
User groups column shows 0 user groups.

Expected:
User groups column should show the correct number of user groups, including groups that use default LDAP server. In this case 1.
Problem occurs in CUserdirectory()->addRelatedUserGroups() function, that does not take into account user groups, which have default LDAP server.
|