mirror of
https://github.com/bitwarden/server.git
synced 2025-07-09 11:54:41 -05:00
[SM-918] Enforce project maximums on import (#3253)
* Refactor MaxProjectsQuery for multiple adds * Update unit tests * Add max project enforcement to imports
This commit is contained in:
@ -2,5 +2,5 @@
|
||||
|
||||
public interface IMaxProjectsQuery
|
||||
{
|
||||
Task<(short? max, bool? atMax)> GetByOrgIdAsync(Guid organizationId);
|
||||
Task<(short? max, bool? overMax)> GetByOrgIdAsync(Guid organizationId, int projectsToAdd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user