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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user