1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-29 22:53:44 +00:00

[PM-28746] Item transfer event logs (#18032)

* [PM-28746] Add item organization event types and i18n strings

* [PM-28746] Log event when transfer is accepted or declined
This commit is contained in:
Shane Melton
2025-12-18 10:20:59 -08:00
committed by GitHub
parent 524bd9a484
commit ff3582109c
5 changed files with 95 additions and 2 deletions

View File

@@ -452,6 +452,12 @@ export class EventService {
this.getShortId(ev.organizationId),
);
break;
case EventType.Organization_ItemOrganization_Accepted:
msg = humanReadableMsg = this.i18nService.t("userAcceptedTransfer");
break;
case EventType.Organization_ItemOrganization_Declined:
msg = humanReadableMsg = this.i18nService.t("userDeclinedTransfer");
break;
// Policies
case EventType.Policy_Updated: {

View File

@@ -4214,6 +4214,12 @@
}
}
},
"userAcceptedTransfer": {
"message": "Accepted transfer to organization ownership."
},
"userDeclinedTransfer": {
"message": "Revoked for declining transfer to organization ownership."
},
"invitedUserId": {
"message": "Invited user $ID$.",
"placeholders": {
@@ -12411,7 +12417,7 @@
"placeholders": {
"organization": {
"content": "$1",
"example": "My Org Name"
"example": "My Org Name"
}
}
},
@@ -12420,7 +12426,7 @@
"placeholders": {
"organization": {
"content": "$1",
"example": "My Org Name"
"example": "My Org Name"
}
}
},