 <p>Register a role resolver. See my example here: <a href="https://github.com/strongloop/loopback-example-access-control/blob/master/server/boot/create-role-resolver.js" rel="nofollow">https://github.com/strongloop/loopback-example-access-control/blob/master/server/boot/create-role-resolver.js</a></p>