fix: removed short-circuit checks

This commit is contained in:
Piyush Gupta
2025-10-28 20:27:53 +05:30
parent 84d93205f0
commit 2e53ac2e8c
+38 -38
View File
@@ -21,55 +21,55 @@ export const getDefaultOnPremFeatures = (): TFeatureSet => ({
environmentsUsed: 0, environmentsUsed: 0,
identityLimit: null, identityLimit: null,
identitiesUsed: 0, identitiesUsed: 0,
dynamicSecret: true, dynamicSecret: false,
secretVersioning: true, secretVersioning: true,
pitRecovery: true, pitRecovery: false,
ipAllowlisting: true, ipAllowlisting: false,
rbac: true, rbac: false,
githubOrgSync: true, githubOrgSync: false,
customRateLimits: true, customRateLimits: false,
subOrganization: true, subOrganization: false,
customAlerts: true, customAlerts: false,
secretAccessInsights: true, secretAccessInsights: false,
auditLogs: true, auditLogs: false,
auditLogsRetentionDays: 0, auditLogsRetentionDays: 0,
auditLogStreams: true, auditLogStreams: false,
auditLogStreamLimit: 3, auditLogStreamLimit: 3,
samlSSO: true, samlSSO: false,
enforceGoogleSSO: true, enforceGoogleSSO: false,
hsm: true, hsm: false,
oidcSSO: true, oidcSSO: false,
scim: true, scim: false,
ldap: true, ldap: false,
groups: true, groups: false,
status: null, status: null,
trial_end: null, trial_end: null,
has_used_trial: true, has_used_trial: true,
secretApproval: true, secretApproval: false,
secretRotation: true, secretRotation: false,
caCrl: true, caCrl: false,
instanceUserManagement: true, instanceUserManagement: false,
externalKms: true, externalKms: false,
rateLimits: { rateLimits: {
readLimit: 60, readLimit: 60,
writeLimit: 200, writeLimit: 200,
secretsLimit: 40 secretsLimit: 40
}, },
pkiEst: true, pkiEst: false,
enforceMfa: true, enforceMfa: false,
projectTemplates: true, projectTemplates: false,
kmip: true, kmip: false,
gateway: true, gateway: false,
sshHostGroups: true, sshHostGroups: false,
secretScanning: true, secretScanning: false,
enterpriseSecretSyncs: true, enterpriseSecretSyncs: false,
enterpriseCertificateSyncs: true, enterpriseCertificateSyncs: false,
enterpriseAppConnections: true, enterpriseAppConnections: false,
fips: true, fips: false,
eventSubscriptions: true, eventSubscriptions: false,
machineIdentityAuthTemplates: true, machineIdentityAuthTemplates: false,
pkiLegacyTemplates: true, pkiLegacyTemplates: false,
pam: true pam: false
}); });
export const setupLicenseRequestWithStore = ( export const setupLicenseRequestWithStore = (