anvilresearch/connect

AD/LDAP protocol does not assign roles for AD/LDAP groups

adalinesimonian opened this issue · 2 comments

Steps to replicate:

  1. Create/obtain a user in AD/LDAP.
  2. Make that user a member of a group.
  3. Define a role in Anvil Connect named after the group DN, with LDAP path names upper-cased and no excess whitespace (e.g. CN=Administrators,OU=Security Groups,DC=example,DC=com)
  4. Authenticate as that user.

Expected behaviour:

Roles are assigned to the user based on their AD/LDAP groups.

Actual behaviour:

No roles are assigned to the user.

Strongly recommend a release is issued after this issue is fixed, as this issue breaks integration with a moderately significant authentication source.

Glad to merge this and release but we need to do a code review first please.