From 26707ab9e3866ea4e32a4a9ed2e265f603e091fb Mon Sep 17 00:00:00 2001 From: Harsh Mahajan Date: Mon, 23 Mar 2026 17:02:57 +0530 Subject: [PATCH] design changes --- .../user-[user]/updateImpersonation.svelte | 65 +++++++++++-------- 1 file changed, 38 insertions(+), 27 deletions(-) diff --git a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/updateImpersonation.svelte b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/updateImpersonation.svelte index 31c327ed3..73f481f17 100644 --- a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/updateImpersonation.svelte +++ b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/updateImpersonation.svelte @@ -4,9 +4,10 @@ import { Submit, trackError, trackEvent } from '$lib/actions/analytics'; import { CardGrid } from '$lib/components'; import { Dependencies } from '$lib/constants'; + import { Button, Form } from '$lib/elements/forms'; import { addNotification } from '$lib/stores/notifications'; import { sdk } from '$lib/stores/sdk'; - import { Alert, Layout, Link, Selector } from '@appwrite.io/pink-svelte'; + import { Alert, Layout, Link, Selector, Typography } from '@appwrite.io/pink-svelte'; import type { Models } from '@appwrite.io/console'; import { user } from './store'; @@ -61,30 +62,40 @@ } - - User impersonation - Control whether this user can impersonate other users through your app using the Appwrite Client SDK's - impersonation support. - - Documentation - - - - +
+ + User impersonation + + + + +
+ + Enabling this option allows this user to impersonate other users + through your app using the Appwrite Client SDK. + + Learn more. + + +
+
+
- - Grant this only for trusted operator or support-style accounts. Audit logs still - attribute actions to the account that started impersonation, not only the - impersonated user. - -
-
-
+ + Only grant this permission to trusted operator or support accounts. Actions are + logged under the account that initiated impersonation. + + + + + + + + +