User Impersonation
Loft allows admins with appropriate RBAC permissions to impersonate users.
Impersonate via UI
- In the Users view, hover over the row with the User who you want to impersonate
- While hovering over the row, you will see buttons appear on the right in the Actions column
- Click on the button to Impersonate the user
- In the popup, click on the button to confirm that you want to start impersonation
- Whenver you want to switch back to your regular user, click the button on the right-hand side of the impersonation banner at the top of the page
Impersonate via CLI
To use Loft CLI as the impersonated user, you can run the following command while impersonation is active:
loft login localhost:9898 --insecure # or use your loft.domain.tld instead of localhost, and ideally with a valid SSL cert and without the --insecure flag
You can verify the login and print your user information via:
loft login