case 4578 (note, prior commit same case forgot to tag it with this message)
This commit is contained in:
@@ -193,7 +193,11 @@ These items are kept as this feature is typically used when people are evaluatin
|
||||
|
||||
## Downgrading a license
|
||||
|
||||
If a new license is installed with fewer Users than previously licensed, AyaNova will automatically deactivate excess Users during license installation. It will first deactivate Users that have not logged in then it will deactivate Users in order of last login from the oldest last login to newest.
|
||||
If a new license is installed with fewer Users than previously licensed, AyaNova will automatically deactivate excess Users during license installation in order to ensure the license will install rather than fail.
|
||||
|
||||
AyaNova will attempt to deactivate the least active Users to minimize disruption.
|
||||
|
||||
It will first deactivate Users that have not logged in previously then it will deactivate Users in order of last login from the oldest last login to newest.
|
||||
|
||||
To avoid this from happening be sure to [manually uncheck and save each User's Active field checkbox](adm-users.md#active) for any excess Users no longer required before attempting to install a new license with a smaller User count that currently active.
|
||||
|
||||
|
||||
@@ -98,7 +98,6 @@ namespace AyaNova.Biz
|
||||
z.UserType != UserType.Customer &&
|
||||
z.UserType != UserType.HeadOffice)).OrderBy(z => z.LastLogin).ToListAsync();
|
||||
|
||||
|
||||
//iterate users and set to inactive preferring the least likely to be affected users
|
||||
|
||||
//first do the ones that have never logged in
|
||||
|
||||
@@ -876,7 +876,6 @@ namespace AyaNova.Core
|
||||
//but it can't handle customer login downgrade as that might fuck up the business badly if suddenly a bunch of random customers can't login so *they* would need to handle that themselves manually
|
||||
//so keeping that bit of code here
|
||||
|
||||
|
||||
//SUBSCRIPTION CUSTOMER LOGIN ACCOUNT QUANTITY DOWNGRADED?
|
||||
long NewCustomerLicensedCount = ParsedNewKey.ActiveCustomerContactUsersCount;
|
||||
long ExistingCustomerUserCount = await AyaNova.Biz.UserBiz.ActiveCustomerContactUserCountAsync();
|
||||
|
||||
Reference in New Issue
Block a user