How to allow only certain user groups to log in as a User
If you would like to allow certain user groups to use the "login as user" functionality, navigate to the plugin settings, find the parameter field "Allowed User Groups", and choose the User Groups that will be able to log in as any user.