1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

chore: add a flag for scim (#6361)

This commit is contained in:
Simon Hornby 2024-02-27 14:33:57 +02:00 committed by GitHub
parent 6cefe71534
commit 43b013ff2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -134,6 +134,7 @@ exports[`should create default config 1`] = `
"proPlanAutoCharge": false,
"responseTimeWithAppNameKillSwitch": false,
"scheduledConfigurationChanges": false,
"scimApi": false,
"sdkReporting": false,
"showInactiveUsers": false,
"strictSchemaValidation": false,

View File

@ -51,7 +51,8 @@ export type IFlagKey =
| 'userAccessUIEnabled'
| 'disableUpdateMaxRevisionId'
| 'disablePublishUnannouncedEvents'
| 'sdkReporting';
| 'sdkReporting'
| 'scimApi';
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
@ -252,6 +253,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_DISABLE_SCHEDULED_CACHES,
false,
),
scimApi: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_SCIM_API,
false,
),
};
export const defaultExperimentalOptions: IExperimentalOptions = {