Dynamically adding user to a loopback Role
问题 I have been studying the loopback / Strongloop documentation and it is not clear to me that it is possible to dynamically add a new user to a role (i.e. add a user to role via role-mapping), that is, without the need to restart the API. Can anyone confirm one way or the other? (ideally, but not necessarily, pointing me to some documentation or example to confirm or not that this is doable). Thanks much. 回答1: You can create rolemappings for users in strongloop with something like this - Role