diff --git a/src/Core/Services/Implementations/CipherService.cs b/src/Core/Services/Implementations/CipherService.cs index 11da1be19..8cc173eeb 100644 --- a/src/Core/Services/Implementations/CipherService.cs +++ b/src/Core/Services/Implementations/CipherService.cs @@ -290,7 +290,7 @@ namespace Bit.Core.Services { var cipherIdsSet = new HashSet(cipherIds); var ciphers = await _cipherRepository.GetManyByUserIdAsync(deletingUserId); - var deletingCiphers = ciphers.Where(c => cipherIdsSet.Contains(c.Id)); + var deletingCiphers = ciphers.Where(c => cipherIdsSet.Contains(c.Id) && c.Edit); await _cipherRepository.DeleteAsync(cipherIds, deletingUserId);