diff --git a/frontend/src/component/admin/auth/OidcAuth/OidcAuth.tsx b/frontend/src/component/admin/auth/OidcAuth/OidcAuth.tsx index 383d750abc..b000f6ede0 100644 --- a/frontend/src/component/admin/auth/OidcAuth/OidcAuth.tsx +++ b/frontend/src/component/admin/auth/OidcAuth/OidcAuth.tsx @@ -40,7 +40,6 @@ export const OidcAuth = () => { const { hasAccess } = useContext(AccessContext); const { config } = useAuthSettings('oidc'); const { updateSettings, errors, loading } = useAuthSettingsApi('oidc'); - const ssoSyncShown = Boolean(uiConfig.flags.syncSSOGroups); useEffect(() => { if (config.discoverUrl) { @@ -240,15 +239,10 @@ export const OidcAuth = () => { /> - - } + diff --git a/frontend/src/component/admin/auth/SamlAuth/SamlAuth.tsx b/frontend/src/component/admin/auth/SamlAuth/SamlAuth.tsx index 7ecbded649..a52281c8b5 100644 --- a/frontend/src/component/admin/auth/SamlAuth/SamlAuth.tsx +++ b/frontend/src/component/admin/auth/SamlAuth/SamlAuth.tsx @@ -40,7 +40,6 @@ export const SamlAuth = () => { const { hasAccess } = useContext(AccessContext); const { config } = useAuthSettings('saml'); const { updateSettings, errors, loading } = useAuthSettingsApi('saml'); - const ssoSyncShown = Boolean(uiConfig.flags.syncSSOGroups); useEffect(() => { if (config.entityId) { @@ -251,15 +250,11 @@ export const SamlAuth = () => { /> - - } + + diff --git a/frontend/src/component/admin/groups/GroupForm/GroupForm.tsx b/frontend/src/component/admin/groups/GroupForm/GroupForm.tsx index 06d65f35dd..f53eeeda4a 100644 --- a/frontend/src/component/admin/groups/GroupForm/GroupForm.tsx +++ b/frontend/src/component/admin/groups/GroupForm/GroupForm.tsx @@ -128,41 +128,31 @@ export const GroupForm: FC = ({ data-testid={UG_DESC_ID} /> - - Is this group associated with SSO - groups? - - - - } - elseShow={() => ( - - - You can enable SSO groups syncronization - if needed - - - - - View SSO configuration - - - - )} - /> + <> + + Is this group associated with SSO groups? + + + } + elseShow={() => ( + + + You can enable SSO groups syncronization if + needed + + + + View SSO configuration + + + )} /> )} - - {({ hasAccess }) => ( - { - onClone(); - handleClose(); - }} - disabled={!hasAccess} - > - - - - - - Clone - - - - )} - - } - /> + + {({ hasAccess }) => ( + { + onClone(); + handleClose(); + }} + disabled={!hasAccess} + > + + + + + + Clone + + + + )} + {({ hasAccess }) => ( { batchMetrics: true, anonymiseEventLog: false, responseTimeWithAppName: true, - syncSSOGroups: true, changeRequests: true, - cloneEnvironment: true, toggleTagFiltering: true, favorites: true, variantsPerEnvironment: true, diff --git a/src/test/config/test-config.ts b/src/test/config/test-config.ts index 4e305cecfb..f96f4896be 100644 --- a/src/test/config/test-config.ts +++ b/src/test/config/test-config.ts @@ -27,9 +27,7 @@ export function createTestConfig(config?: IUnleashOptions): IUnleashConfig { embedProxy: true, embedProxyFrontend: true, batchMetrics: true, - syncSSOGroups: true, changeRequests: true, - cloneEnvironment: true, variantsPerEnvironment: true, favorites: true, },