LDAP addon roles substitution

Hi everyone,

I’m trying to use LDAP addon for authentication in my application, but I can’t hunderstand how roles substitution works.

In fact I add a role “License” to my user nscarciolla, but after the login by ldap authentication the role disappears.

In this image the LDAP log where you can see the roles after login.

In this image the ldap match rule, how can you see the flag “override existing roles” is unchecked:

Thanks for any help.

Hi, is this the issue you’re talking about Design-time roles are unassigned from the user after login · Issue #98 · cuba-platform/ldap-addon · GitHub ?

I think so. Is it a bug?

Yes, it is. It is fixed and the fix will appear in the next bugfix release. We don’t have specific plans about release date now, but probably it will be in a month or so.

Ok, thanks.

I’ll waiting for it!

Regards