From 1f2fc2bdd5214f91a34a86fc1ab07f3968438339 Mon Sep 17 00:00:00 2001 From: savindi7 Date: Wed, 13 Dec 2023 11:35:28 +0530 Subject: [PATCH 1/3] hide enable rules in App outbound provisioning --- .../resources/deployment.config.json.j2 | 2 +- .../forms/advanced-configurations-form.tsx | 5 +- ...outbound-provisioining-idp-wizard-form.tsx | 64 ++++++++++--------- .../console/src/public/deployment.config.json | 2 +- modules/core/src/models/core.ts | 1 - 5 files changed, 37 insertions(+), 37 deletions(-) diff --git a/apps/console/java/org.wso2.identity.apps.console.server.feature/resources/deployment.config.json.j2 b/apps/console/java/org.wso2.identity.apps.console.server.feature/resources/deployment.config.json.j2 index 6a673172d57..969323fc297 100644 --- a/apps/console/java/org.wso2.identity.apps.console.server.feature/resources/deployment.config.json.j2 +++ b/apps/console/java/org.wso2.identity.apps.console.server.feature/resources/deployment.config.json.j2 @@ -1696,6 +1696,7 @@ {% endfor %} {% endif %} ], + "isXacmlConnectorEnabled": "{{ console.ui.isXacmlConnectorEnabled }}", "legacyMode": { {% if legacy_mode.enable == true %} "apiResources": false, @@ -1703,7 +1704,6 @@ "applicationOIDCSubjectIdentifier": true, "applicationRequestPathAuthentication": true, "applicationSystemAppsSettings": true, - "applicationXacmlAuthorization": true, "approvals": true, "certificates": true, "loginAndRegistrationEmailDomainDiscovery": false, diff --git a/apps/console/src/features/applications/components/forms/advanced-configurations-form.tsx b/apps/console/src/features/applications/components/forms/advanced-configurations-form.tsx index ed2cf062cd0..f589d4bdc62 100644 --- a/apps/console/src/features/applications/components/forms/advanced-configurations-form.tsx +++ b/apps/console/src/features/applications/components/forms/advanced-configurations-form.tsx @@ -26,7 +26,6 @@ import { import { Field, Form, FormPropsInterface } from "@wso2is/form"; import { GenericIcon, Heading } from "@wso2is/react-components"; import isEmpty from "lodash-es/isEmpty"; -import useUIConfig from "modules/common/src/hooks/use-ui-configs"; import React, { FunctionComponent, MutableRefObject, @@ -96,8 +95,6 @@ export const AdvancedConfigurationsForm: FunctionComponent state?.config?.ui?.features); const isApplicationNativeAuthenticationEnabled: boolean = isFeatureEnabled(featureConfig?.applications, ApplicationManagementConstants.FEATURE_DICTIONARY.get("APPLICATION_NATIVE_AUTHENTICATION")); @@ -306,7 +303,7 @@ export const AdvancedConfigurationsForm: FunctionComponent