mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +01:00
[AC-1779] Add comment to clarify ExpirationWithoutGracePeriod in OrganizationLicense (#3403)
* add the validation for version 12 and above * We needed comments only
This commit is contained in:
parent
a60f70dde5
commit
f615858724
@ -337,6 +337,10 @@ public class OrganizationLicense : ILicense
|
|||||||
valid = organization.UseCustomPermissions == UseCustomPermissions;
|
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)
|
if (valid && Version >= 13)
|
||||||
{
|
{
|
||||||
valid = organization.UseSecretsManager == UseSecretsManager &&
|
valid = organization.UseSecretsManager == UseSecretsManager &&
|
||||||
|
Loading…
Reference in New Issue
Block a user