[6.x] support standard license (#26294) (#26304)

Backports the following commits to 6.x:
 - support standard license  (#26294)
This commit is contained in:
Larry Gregory 2018-11-27 18:11:41 -05:00 committed by GitHub
parent cc15cbbf92
commit a67ad05e19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,13 @@ export function checkLicense(xPackInfo: any): LicenseCheckResult {
};
}
const isAnyXpackLicense = xPackInfo.license.isOneOf(['basic', 'gold', 'platinum', 'trial']);
const isAnyXpackLicense = xPackInfo.license.isOneOf([
'basic',
'standard',
'gold',
'platinum',
'trial',
]);
if (!isAnyXpackLicense) {
return {