Authenticator Module having QB stmt with JOIN using relation

In the Authenticator Module, having a QB statement with a JOIN using a relation like

var join1 = query.joins.add('persons_classified_by_persons_access_right_groups', 'parg');

leds to an error message:

Cannot find relation 'persons_classified_by_persons_access_right_groups'

So I assume this is because the code in the Authenticator Module can’t access the applications relations for security reasons. Is this assumption correct?

Thanks and regards,

No, I think that should work. The whole point about the separation of login solution and authenticator is that the authenticator can do these things while login cannot. Is the module that holds this relation available to the authenticator (added as a module)?

That’s the point, the Authenticator module did not see the relation :oops:

Thanks and regards,