Here's a patch with a test showing the problem.
Looks like the SQL and LDAP assignment backends are not doing this correctly.
Here's a patch with a test showing the problem.
Looks like the SQL and LDAP assignment backends are not doing this correctly.