User Impersonation
Peak supports a User Impersonation feature that allows administrators to temporarily log in as another user to investigate account-related issues, troubleshoot problems, or provide support.
Impersonate a User
To impersonate a user:
- Navigate to Admin → Users.
- Select the user you wish to impersonate and click the edit icon.
- On the user's edit page, click the Impersonate button.
This action will redirect you to the selected user's dashboard. While impersonating, you will be able to browse the application as if you are the selected user.
⚠️ Note: Only admins with the
impersonate-users
permission can access and use this functionality.
Stop Impersonation
When impersonating another user, you will see a floated notification panel at the bottom-center of the dashboard that says:
"You're now impersonating another user (Full Name)—be careful with any changes you make."
To end impersonation:
- Click the Stop button in the notification panel.
- You will be logged out of the impersonated session and returned to your original admin account.
Security Considerations
- Only trusted admin roles should be granted the
impersonate-users
permission.
Customization
The impersonation button and text can be customized in impersonation banner component (resources/js/Themes/Breeze/Includes/ImpersonationBanner.vue
).