mirror of
https://github.com/bitwarden/server
synced 2026-01-19 17:03:16 +00:00
[PM-20041] Deleting Notifications when Task is completed (#5896)
* mark all notifications associated with a security task as deleted when the task is completed * fix spelling * formatting * refactor "Active" to "NonDeleted" * refactor "Active" to "NonDeleted" for stored procedure * only send notifications per user for each notification * move notification status updates into the DB layer to save on multiple queries and insertions from the C# * Only return UserIds from db layer * omit userId from `MarkTaskAsCompletedCommand` query. The userId from the notification will be used * update UserIds * consistency in comments regarding `taskId` and `UserId`
This commit is contained in:
@@ -55,7 +55,7 @@ public interface ICipherRepository : IRepository<Cipher, Guid>
|
||||
Guid userId);
|
||||
|
||||
/// <summary>
|
||||
/// Returns the users and the cipher ids for security tawsks that are applicable to them.
|
||||
/// Returns the users and the cipher ids for security tasks that are applicable to them.
|
||||
///
|
||||
/// Security tasks are actionable when a user has manage access to the associated cipher.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user