feat: Prevent saving preferences and status when impersonating (#11164)

This PR will prevent saving user preferences and online status when impersonating. Previously, these settings could be updated during impersonation, causing the user to see a different view or UI settings.

Fixes https://linear.app/chatwoot/issue/CW-4163/impersonation-improvements
This commit is contained in:
Sivin Varghese
2025-05-22 10:08:19 +05:30
committed by Shivam Mishra
parent 2fe0761fd5
commit fc8fe9a8d1
13 changed files with 270 additions and 5 deletions
@@ -0,0 +1,3 @@
export const SESSION_STORAGE_KEYS = {
IMPERSONATION_USER: 'impersonationUser',
};