More subscription stuff
This commit is contained in:
@@ -413,7 +413,7 @@ namespace AyaNova.Util
|
||||
watch.Start();
|
||||
|
||||
|
||||
//USERS
|
||||
//INSIDE USERS - 730 total inside users here plus couple dozen known users below
|
||||
//IT administrator, can change ops but nothing else
|
||||
await SeedUserAsync(log, 10, AuthorizationRoles.OpsAdmin, UserType.NotService, forceEmail, appendPassword);
|
||||
//business administrator, can view ops issues
|
||||
@@ -423,8 +423,10 @@ namespace AyaNova.Util
|
||||
|
||||
////////////////////////////////////////////////
|
||||
//TECHS (LICENSE CONSUMERS)
|
||||
//trial license allows 1000
|
||||
//
|
||||
//
|
||||
|
||||
//########### WARNING: if more than 250 techs must update Rockfish::ravenkeyfactory::GetRavenTrialKey to allow for more
|
||||
//regular techs
|
||||
await SeedUserAsync(log, 15, AuthorizationRoles.Tech | AuthorizationRoles.ServiceRestricted, UserType.Service, forceEmail, appendPassword);
|
||||
//Restricted techs
|
||||
@@ -452,15 +454,17 @@ namespace AyaNova.Util
|
||||
|
||||
await SeedVendorAsync(log, 5000, forceEmail);
|
||||
await SeedUnitModelAsync(log, 400);
|
||||
await SeedCustomerAsync(log, 10000, slevel, forceEmail, appendPassword);
|
||||
await SeedHeadOfficeAsync(log, 500, slevel, forceEmail, appendPassword);
|
||||
|
||||
//######### WARNING trial license size limits: Each Head office is up to 3 users generated, each customer is up to 1 generated so assume fully generated
|
||||
await SeedCustomerAsync(log, 10000, slevel, forceEmail, appendPassword);//## WARNING AFFECTS LICENSE potentially 10,000 CUSTOMER users
|
||||
await SeedHeadOfficeAsync(log, 500, slevel, forceEmail, appendPassword);//## WARNING AFFECTS LICENSE potentially 1500 CUSTOMER users
|
||||
|
||||
await SeedProjectAsync(log, 1000);
|
||||
await SeedServiceRateAsync(log, 200);
|
||||
await SeedTravelRateAsync(log, 100);
|
||||
|
||||
await SeedLoanLoanUnitAsync(log, 200);
|
||||
await SeedCustomerServiceRequestAsync(log, 200, forceEmail, appendPassword);
|
||||
await SeedCustomerServiceRequestAsync(log, 200, forceEmail, appendPassword);//## WARNING AFFECTS LICENSE potentially 200 CUSTOMER users from this
|
||||
await SeedPartWarehouseAsync(log, 200);
|
||||
await SeedPartAsync(log, 10000, 1000);
|
||||
await SeedPartAssemblyAsync(log, 500);
|
||||
|
||||
Reference in New Issue
Block a user