Role based on Email Domain

Michael P 10 months ago 0

I am using Filerun as a multi-tenant solution with LDAP authentication and AD Groups. Is there any way to map a users email domain with their role?

Right now a new user gets assigned the Filerun role in Active Directory and then they log into the Filerun portal with their email address and AD password. They get assigned the default LDAP role initially and I then have to go in and change their role manually.

Is there any way where I can automate that based on email domain? So anyone successfully logging in with email@customer-a.com gets assigned to the customer-a user role while anyone successfully logging in with email@customer-b.com gets assigned to the customer-b user role etc.

Thanks, Michael