1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-19 00:15:43 +01:00

chore: cherry-pick SCIM flag removal (#7851)

Co-authored-by: Simon Hornby <simon@getunleash.io>
This commit is contained in:
Gastón Fournier 2024-08-13 11:06:34 +02:00 committed by GitHub
parent 067d0b15c7
commit 3148ceffa1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 0 additions and 8 deletions

View File

@ -154,7 +154,6 @@ exports[`should create default config 1`] = `
"resourceLimits": false,
"responseTimeMetricsFix": false,
"responseTimeWithAppNameKillSwitch": false,
"scimApi": false,
"showInactiveUsers": false,
"signals": false,
"strictSchemaValidation": false,

View File

@ -728,7 +728,6 @@ export default class UserAdminController extends Controller {
scimId,
}: Pick<IUser, 'id' | 'scimId'>): Promise<void> {
if (!this.isEnterprise) return;
if (!this.flagResolver.isEnabled('scimApi')) return;
const isScimUser = await this.isScimUser({ id, scimId });
if (!isScimUser) return;

View File

@ -49,7 +49,6 @@ export type IFlagKey =
| 'disablePublishUnannouncedEvents'
| 'outdatedSdksBanner'
| 'responseTimeMetricsFix'
| 'scimApi'
| 'displayEdgeBanner'
| 'disableShowContextFieldSelectionValues'
| 'projectOverviewRefactorFeedback'
@ -251,10 +250,6 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_QUERY_MISSING_TOKENS,
false,
),
scimApi: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_SCIM_API,
false,
),
displayEdgeBanner: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_DISPLAY_EDGE_BANNER,
false,

View File

@ -35,7 +35,6 @@ beforeAll(async () => {
experimental: {
flags: {
strictSchemaValidation: true,
scimApi: true,
},
},
});