LDAP group sync does not throw error for users with no LDAP identities

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Issue: Manual LDAP sync via rails console does not throw warning error for users with no identities

When manually syncing LDAP users for a single group via the rails console, no warning or error is thrown for users without LDAP identities.

This errors/warning will be more helpful for group out of sync issues.

Sync one group

Gitlab Internal ticket

Edited by 🤖 GitLab Bot 🤖