Skip to content

Commit

Permalink
Merge pull request #19281 from ThaminduR/console-feature-removal
Browse files Browse the repository at this point in the history
Add the UI components and hide from the config
  • Loading branch information
ThaminduR authored Jan 30, 2024
2 parents df97504 + 3a0d771 commit bff2edf
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"userstores_mgt_menu",
"service_providers_menu",
"identity_providers_menu",
"identity_verification_providers_menu",
"identity_emailtemplate_menu",
"scope_menu",
"identity_admin_advisory_banner_menu",
"server-roles-mgt_menu",
"logging_config_menu"
Expand Down
40 changes: 5 additions & 35 deletions modules/distribution/src/repository/resources/conf/infer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"tenantDomain", "t"]
}
},
"legacy_ui.enable": {
"resident_idp": {
"resident_idp.enable": {
"true": {
"server.hide_menu_items": [
"claim_mgt_menu",
"remote_fetch_providers_menu",
Expand All @@ -46,39 +46,9 @@
"service_providers_menu",
"identity_providers_add",
"identity_providers_list",
"identity_admin_advisory_banner_menu",
"server-roles-mgt_menu",
"logging_config_menu"
]
},
"service_provider": {
"server.hide_menu_items": [
"claim_mgt_menu",
"remote_fetch_providers_menu",
"identity_mgt_emailtemplate_menu",
"identity_security_questions_menu",
"metrics_menu",
"shutdown_restart_menu",
"user_mgt_menu",
"userstores_mgt_menu",
"identity_providers_menu",
"identity_admin_advisory_banner_menu",
"server-roles-mgt_menu",
"logging_config_menu"
]
},
"all": {
"server.hide_menu_items": [
"claim_mgt_menu",
"remote_fetch_providers_menu",
"identity_mgt_emailtemplate_menu",
"identity_security_questions_menu",
"metrics_menu",
"shutdown_restart_menu",
"user_mgt_menu",
"userstores_mgt_menu",
"identity_providers_add",
"identity_providers_list",
"identity_verification_providers_menu",
"identity_emailtemplate_menu",
"scope_menu",
"identity_admin_advisory_banner_menu",
"server-roles-mgt_menu",
"logging_config_menu"
Expand Down
15 changes: 11 additions & 4 deletions modules/p2-profile-gen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
org.wso2.carbon.identity.framework:org.wso2.carbon.identity.event.feature:${carbon.identity.framework.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity.framework:org.wso2.carbon.identity.mgt.server.feature:${carbon.identity.framework.version}
org.wso2.carbon.identity.framework:org.wso2.carbon.identity.mgt.feature:${carbon.identity.framework.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity.framework:org.wso2.carbon.identity.template.mgt.feature:${carbon.identity.framework.version}
Expand All @@ -177,7 +177,7 @@
org.wso2.carbon.identity.event.handler.accountlock:org.wso2.carbon.identity.handler.event.account.lock.feature:${identity.event.handler.account.lock.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity.event.handler.notification:org.wso2.carbon.email.mgt.server.feature:${identity.event.handler.notification.version}
org.wso2.carbon.identity.event.handler.notification:org.wso2.carbon.email.mgt.feature:${identity.event.handler.notification.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity.event.handler.notification:org.wso2.carbon.event.handler.notification.server.feature:${identity.event.handler.notification.version}
Expand Down Expand Up @@ -504,6 +504,9 @@
<featureArtifactDef>
org.wso2.carbon.extension.identity.verification:org.wso2.carbon.extension.identity.verification.provider.feature:${identity.verification.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.extension.identity.verification:org.wso2.carbon.extension.identity.verification.ui.feature:${identity.verification.version}
</featureArtifactDef>
<!-- input validation related features -->
<featureArtifactDef>
org.wso2.carbon.identity.framework:org.wso2.carbon.identity.input.validation.mgt.server.feature:${carbon.identity.framework.version}
Expand Down Expand Up @@ -654,11 +657,11 @@
<version>${identity.event.handler.account.lock.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.mgt.server.feature.group</id>
<id>org.wso2.carbon.identity.mgt.feature.group</id>
<version>${carbon.identity.framework.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.email.mgt.server.feature.group</id>
<id>org.wso2.carbon.email.mgt.feature.group</id>
<version>${identity.event.handler.notification.version}</version>
</feature>
<feature>
Expand Down Expand Up @@ -1130,6 +1133,10 @@
<id>org.wso2.carbon.extension.identity.verification.mgt.feature.group</id>
<version>${identity.verification.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.extension.identity.verification.ui.feature.group</id>
<version>${identity.verification.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.extension.identity.oauth2.token.exchange.feature.group</id>
<version>${identity.oauth2.token.exchange.grant.version}</version>
Expand Down

0 comments on commit bff2edf

Please sign in to comment.