fix: warn that integrations remain enabled when deleting or suspending a user

Integrations and webhooks created by a user are team-level and continue to
run after that user is deleted or suspended — only their API keys stop
working, as authentication rejects deleted and suspended users. The delete
dialog previously claimed integrations would stop working, and the suspend
dialog said nothing at all.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017S2d7skv8W7GA3cwVWbGqK
This commit is contained in:
Claude
2026-08-02 15:08:06 +00:00
parent 73f960a544
commit 6cbb0e8baf
+2 -2
View File
@@ -76,7 +76,7 @@ export function UserDeleteDialog({ user, onSubmit }: Props) {
danger
>
{t(
"Are you sure you want to permanently delete {{ userName }}? This operation is unrecoverable. Any API keys, webhooks, and integrations they created will stop working — consider suspending the user instead.",
"Are you sure you want to permanently delete {{ userName }}? This operation is unrecoverable. Any API keys they created will stop working, while webhooks and integrations they created will remain enabled — consider suspending the user instead.",
{
userName: user.name,
}
@@ -101,7 +101,7 @@ export function UserSuspendDialog({ user, onSubmit }: Props) {
danger
>
{t(
"Are you sure you want to suspend {{ userName }}? Suspended users will be prevented from logging in.",
"Are you sure you want to suspend {{ userName }}? Suspended users will be prevented from logging in, however any webhooks and integrations they created will remain enabled.",
{
userName: user.name,
}