From f6158587240d7383ecb3f161e8ce25fccd71676c Mon Sep 17 00:00:00 2001 From: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com> Date: Tue, 11 Jun 2024 15:26:53 +0100 Subject: [PATCH] [AC-1779] Add comment to clarify ExpirationWithoutGracePeriod in OrganizationLicense (#3403) * add the validation for version 12 and above * We needed comments only --- src/Core/Models/Business/OrganizationLicense.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Core/Models/Business/OrganizationLicense.cs b/src/Core/Models/Business/OrganizationLicense.cs index 764cb31aa2..9cdc1f9f5d 100644 --- a/src/Core/Models/Business/OrganizationLicense.cs +++ b/src/Core/Models/Business/OrganizationLicense.cs @@ -337,6 +337,10 @@ public class OrganizationLicense : ILicense valid = organization.UseCustomPermissions == UseCustomPermissions; } + /*Version 12 added ExpirationWithoutDatePeriod, but that property is informational only and is not saved + to the Organization object. It's validated as part of the hash but does not need to be validated here. + */ + if (valid && Version >= 13) { valid = organization.UseSecretsManager == UseSecretsManager &&