Undo license fns changes for testing

This commit is contained in:
Carlos Monastyrski
2025-08-13 11:47:41 -07:00
parent aa4dbfa073
commit 4bd61e5607
+34 -34
View File
@@ -18,50 +18,50 @@ 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,
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,
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,
enterpriseAppConnections: true, enterpriseAppConnections: false,
fips: true, fips: false,
eventSubscriptions: true, eventSubscriptions: false,
machineIdentityAuthTemplates: true machineIdentityAuthTemplates: false
}); });
export const setupLicenseRequestWithStore = ( export const setupLicenseRequestWithStore = (
@@ -117,7 +117,7 @@ export const setupLicenseRequestWithStore = (
// eslint-disable-next-line // eslint-disable-next-line
if ((errStatusCode === 401 || errStatusCode === 403) && !(originalRequest as any)._retry) { if ((errStatusCode === 401 || errStatusCode === 403) && !(originalRequest as any)._retry) {
// eslint-disable-next-line // eslint-disable-next-line
(originalRequest as any)._retry = true; // injected (originalRequest as any)._retry = false; // injected
// refresh // refresh
await refreshLicense(); await refreshLicense();