1
0
mirror of https://github.com/bitwarden/server synced 2025-12-18 01:03:17 +00:00

fix: set orgUser Id for collection access when creating reseller org, refs AC-2214 (#3839)

This commit is contained in:
Vincent Salucci
2024-02-25 17:00:34 -06:00
committed by GitHub
parent 4ae86b7d34
commit 8fb64f036c
3 changed files with 4 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ public interface IOrganizationService
/// <remarks>
/// This method must target a disabled Organization that has null keys and status as 'Pending'.
/// </remarks>
Task InitPendingOrganization(Guid userId, Guid organizationId, string publicKey, string privateKey, string collectionName);
Task InitPendingOrganization(Guid userId, Guid organizationId, Guid organizationUserId, string publicKey, string privateKey, string collectionName);
Task ReplaceAndUpdateCacheAsync(Organization org, EventType? orgEvent = null);
void ValidatePasswordManagerPlan(Models.StaticStore.Plan plan, OrganizationUpgrade upgrade);