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:
@@ -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: {
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user