1
0
mirror of https://github.com/bitwarden/server synced 2025-12-24 04:03:25 +00:00

[SM-787] Extract authorization from project delete command (#2987)

* Extract authorization from project delete command

* Support service account write access

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
This commit is contained in:
Thomas Avery
2023-07-11 15:15:18 -05:00
committed by GitHub
parent 4dea376aa3
commit b629c31de9
11 changed files with 269 additions and 213 deletions

View File

@@ -4,6 +4,6 @@ namespace Bit.Core.SecretsManager.Commands.Projects.Interfaces;
public interface IDeleteProjectCommand
{
Task<List<Tuple<Project, string>>> DeleteProjects(List<Guid> ids, Guid userId);
Task DeleteProjects(IEnumerable<Project> projects);
}