diff --git a/jslib b/jslib index 10fa164ffc6..a3e00cdc156 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 10fa164ffc6f61e2264633ca4874473fa6afb4f4 +Subproject commit a3e00cdc156e89d088b339afeb3af79615d6f496 diff --git a/src/app/common/base.people.component.ts b/src/app/common/base.people.component.ts index b7033f3dec2..6e769817d07 100644 --- a/src/app/common/base.people.component.ts +++ b/src/app/common/base.people.component.ts @@ -180,7 +180,7 @@ export abstract class BasePeopleComponent this.pageSize; } + protected deleteWarningMessage(user: UserType): string { + return this.i18nService.t('removeUserConfirmation'); + } + protected getCheckedUsers() { return this.users.filter(u => (u as any).checked); } diff --git a/src/app/organizations/manage/people.component.ts b/src/app/organizations/manage/people.component.ts index a714a170388..0d368907b5d 100644 --- a/src/app/organizations/manage/people.component.ts +++ b/src/app/organizations/manage/people.component.ts @@ -291,6 +291,14 @@ export class PeopleComponent extends BasePeopleComponent>, successfullMessage: string) { diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index 7779d9f44ed..731704c1987 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -2176,6 +2176,9 @@ "removeUserConfirmation": { "message": "Are you sure you want to remove this user?" }, + "removeUserConfirmationKeyConnector": { + "message": "Warning! This user requires Key Connector to manage their encryption. Removing this user from your organization will permanently disable their account. This action cannot be undone. Do you want to proceed?" + }, "externalId": { "message": "External Id" },