We mentioned that we get an permission denied if we autowire the data manager in the LDAPUserSyncStrategy class when using LDAP addon.
We wanted to map an additional property from another source outside the LDAP and loaded this with data manager. To get permission to do so, while we’re still anonymous/new user, we use system authentication. That works fine so far. But when saving the authority roles we get permission denied.
While searching for the error we found that we don’t need to use data manager or system authenticaton but autowiring is enough to get this error.
We now moved the lookup to a service and that’s working fine again.
Are you aware of this behavior?