mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
Handle vault accessed event types (#1115)
* Handle vault accessed event types * update jslib
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: cae26521cc...027747246c
@@ -215,6 +215,9 @@ export class EventService {
|
||||
msg = this.i18nService.t('exportedOrganizationVault');
|
||||
break;
|
||||
*/
|
||||
case EventType.Organization_VaultAccessed:
|
||||
msg = humanReadableMsg = this.i18nService.t('vaultAccessedByProvider');
|
||||
break;
|
||||
// Policies
|
||||
case EventType.Policy_Updated:
|
||||
msg = this.i18nService.t('modifiedPolicyId', this.formatPolicyId(ev));
|
||||
@@ -257,6 +260,10 @@ export class EventService {
|
||||
msg = this.i18nService.t('removedOrganizationId', this.formatProviderOrganizationId(ev));
|
||||
humanReadableMsg = this.i18nService.t('removedOrganizationId', this.getShortId(ev.providerOrganizationId));
|
||||
break;
|
||||
case EventType.ProviderOrganization_VaultAccessed:
|
||||
msg = this.i18nService.t('accessedClientVault', this.formatProviderOrganizationId(ev));
|
||||
humanReadableMsg = this.i18nService.t('accessedClientVault', this.getShortId(ev.providerOrganizationId));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -998,6 +998,9 @@
|
||||
"purgedOrganizationVault": {
|
||||
"message": "Purged organization vault."
|
||||
},
|
||||
"vaultAccessedByProvider": {
|
||||
"message": "Vault accessed by provider."
|
||||
},
|
||||
"purgeVaultDesc": {
|
||||
"message": "Proceed below to delete all items and folders in your vault. Items that belong to an organization that you share with will not be deleted."
|
||||
},
|
||||
@@ -2588,7 +2591,7 @@
|
||||
"placeholders": {
|
||||
"id": {
|
||||
"content": "$1",
|
||||
"example": "John Smith"
|
||||
"example": "Google"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2597,7 +2600,7 @@
|
||||
"placeholders": {
|
||||
"id": {
|
||||
"content": "$1",
|
||||
"example": "John Smith"
|
||||
"example": "Google"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2606,7 +2609,16 @@
|
||||
"placeholders": {
|
||||
"id": {
|
||||
"content": "$1",
|
||||
"example": "John Smith"
|
||||
"example": "Google"
|
||||
}
|
||||
}
|
||||
},
|
||||
"accessedClientVault": {
|
||||
"message": "Accessed $ID$ organization vault.",
|
||||
"placeholders": {
|
||||
"id": {
|
||||
"content": "$1",
|
||||
"example": "Google"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user