mirror of
https://github.com/bitwarden/web
synced 2025-12-11 05:43:16 +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');
|
msg = this.i18nService.t('exportedOrganizationVault');
|
||||||
break;
|
break;
|
||||||
*/
|
*/
|
||||||
|
case EventType.Organization_VaultAccessed:
|
||||||
|
msg = humanReadableMsg = this.i18nService.t('vaultAccessedByProvider');
|
||||||
|
break;
|
||||||
// Policies
|
// Policies
|
||||||
case EventType.Policy_Updated:
|
case EventType.Policy_Updated:
|
||||||
msg = this.i18nService.t('modifiedPolicyId', this.formatPolicyId(ev));
|
msg = this.i18nService.t('modifiedPolicyId', this.formatPolicyId(ev));
|
||||||
@@ -257,6 +260,10 @@ export class EventService {
|
|||||||
msg = this.i18nService.t('removedOrganizationId', this.formatProviderOrganizationId(ev));
|
msg = this.i18nService.t('removedOrganizationId', this.formatProviderOrganizationId(ev));
|
||||||
humanReadableMsg = this.i18nService.t('removedOrganizationId', this.getShortId(ev.providerOrganizationId));
|
humanReadableMsg = this.i18nService.t('removedOrganizationId', this.getShortId(ev.providerOrganizationId));
|
||||||
break;
|
break;
|
||||||
|
case EventType.ProviderOrganization_VaultAccessed:
|
||||||
|
msg = this.i18nService.t('accessedClientVault', this.formatProviderOrganizationId(ev));
|
||||||
|
humanReadableMsg = this.i18nService.t('accessedClientVault', this.getShortId(ev.providerOrganizationId));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -998,6 +998,9 @@
|
|||||||
"purgedOrganizationVault": {
|
"purgedOrganizationVault": {
|
||||||
"message": "Purged organization vault."
|
"message": "Purged organization vault."
|
||||||
},
|
},
|
||||||
|
"vaultAccessedByProvider": {
|
||||||
|
"message": "Vault accessed by provider."
|
||||||
|
},
|
||||||
"purgeVaultDesc": {
|
"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."
|
"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": {
|
"placeholders": {
|
||||||
"id": {
|
"id": {
|
||||||
"content": "$1",
|
"content": "$1",
|
||||||
"example": "John Smith"
|
"example": "Google"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2597,7 +2600,7 @@
|
|||||||
"placeholders": {
|
"placeholders": {
|
||||||
"id": {
|
"id": {
|
||||||
"content": "$1",
|
"content": "$1",
|
||||||
"example": "John Smith"
|
"example": "Google"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2606,7 +2609,16 @@
|
|||||||
"placeholders": {
|
"placeholders": {
|
||||||
"id": {
|
"id": {
|
||||||
"content": "$1",
|
"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