mirror of
https://github.com/bitwarden/server
synced 2025-12-19 09:43:25 +00:00
[SM-895] Enforce project maximums (#3214)
* Add ProjectLimitQuery * Add query to DI * Add unit tests * Add query to controller * Add controller unit tests * add integration tests * rename query and variables * More renaming
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace Bit.Core.SecretsManager.Queries.Projects.Interfaces;
|
||||
|
||||
public interface IMaxProjectsQuery
|
||||
{
|
||||
Task<(short? max, bool? atMax)> GetByOrgIdAsync(Guid organizationId);
|
||||
}
|
||||
Reference in New Issue
Block a user