mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-13 19:51:37 +01:00
Handle vault accessed event types (#1115)
* Handle vault accessed event types * update jslib
This commit is contained in:
parent
75b0b7a1e1
commit
2b0d3f9e0d
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit cae26521ccf763a8e1d21581ed138a1544469fdf
|
||||
Subproject commit 027747246c9c15b976ad1aa0a1df563afaa9de21
|
@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user