1
0
mirror of https://github.com/bitwarden/server synced 2025-12-27 21:53:24 +00:00

job to delete trashed ciphers nightly (#1243)

* job to delete trashed items nightly

* remove script from migration project file

* admin setting for controlling trash deleting dates
This commit is contained in:
Kyle Spearrin
2021-04-02 11:14:21 -04:00
committed by GitHub
parent 1b8b9b7539
commit 597fa01344
8 changed files with 122 additions and 1 deletions

View File

@@ -36,5 +36,6 @@ namespace Bit.Core.Repositories
Task SoftDeleteAsync(IEnumerable<Guid> ids, Guid userId);
Task SoftDeleteByIdsOrganizationIdAsync(IEnumerable<Guid> ids, Guid organizationId);
Task<DateTime> RestoreAsync(IEnumerable<Guid> ids, Guid userId);
Task DeleteDeletedAsync(DateTime deletedDateBefore);
}
}