From 53cffea5d34008d64adf0e6221501b86f46034bc Mon Sep 17 00:00:00 2001 From: Amalka Subasinghe Date: Thu, 10 Nov 2022 18:11:47 +0530 Subject: [PATCH] remove mdm-ui-config j2 file, since when scope list too long cannot configured in deployment.toml --- .../repository/conf/mdm-ui-config.xml.j2 | 284 ------------------ 1 file changed, 284 deletions(-) delete mode 100644 features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2 diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2 b/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2 deleted file mode 100644 index bc4b4672368..00000000000 --- a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2 +++ /dev/null @@ -1,284 +0,0 @@ - - - - - {% if mdm_ui_conf.enable_oauth is defined %} - {{mdm_ui_conf.enable_oauth}} - {% else %} - true - {% endif %} - {% if mdm_ui_conf.enable_sso is defined %} - {{mdm_ui_conf.enable_sso}} - {% else %} - true - {% endif %} - - {% if mdm_ui_conf.login_cache_capacity is defined %} - {{mdm_ui_conf.login_cache_capacity}} - {% else %} - 10000 - {% endif %} - - - {% if mdm_ui_conf.hide_bill_generation_in_super_tenant is defined %} - {{mdm_ui_conf.hide_bill_generation_in_super_tenant}} - {% else %} - false - {% endif %} - {% if mdm_ui_conf.hide_bill_generation_in_sub_tenant is defined %} - {{mdm_ui_conf.hide_bill_generation_in_sub_tenant}} - {% else %} - true - {% endif %} - {% if mdm_ui_conf.hide_total_calculation_in_super_tenant is defined %} - {{mdm_ui_conf.hide_total_calculation_in_super_tenant}} - {% else %} - false - {% endif %} - {% if mdm_ui_conf.hide_total_calculation_in_sub_tenant is defined %} - {{mdm_ui_conf.hide_total_calculation_in_sub_tenant}} - {% else %} - true - {% endif %} - {% if mdm_ui_conf.hide_domain_selection_in_super_tenant is defined %} - {{mdm_ui_conf.hide_domain_selection_in_super_tenant}} - {% else %} - false - {% endif %} - {% if mdm_ui_conf.hide_domain_selection_in_sub_tenant is defined %} - {{mdm_ui_conf.hide_domain_selection_in_sub_tenant}} - {% else %} - true - {% endif %} - - - - - {% if mdm_ui_conf.app_registration.tags is defined %} - {%- for tag in mdm_ui_conf.app_registration.tags -%} - {{tag}} - {% endfor %} - {% else %} - application_management - device_management - subscription_management - review_management - {% endif %} - - {% if mdm_ui_conf.app_registration.allow_to_all_domains is defined %} - {{mdm_ui_conf.app_registration.allow_to_all_domains}} - {% else %} - true - {% endif %} - - - perm:app:review:view - perm:app:review:update - perm:app:publisher:service-provider:view - perm:app:publisher:service-provider:create - perm:app:publisher:service-provider:attach - perm:app:publisher:service-provider:detach - perm:app:publisher:service-provider:connect - perm:app:publisher:view - perm:app:publisher:update - perm:app:store:view - perm:app:subscription:install - perm:app:subscription:uninstall - perm:admin:app:review:update - perm:admin:app:review:view - perm:admin:app:publisher:update - perm:admin:app:review:update - perm:admin:app:subscription:view - perm:admin:app:subscription:modify - perm:device-types:types - perm:enterprise:modify - perm:enterprise:view - perm:android-work:customer - perm:android-work:admin - perm:application-command:modify - perm:sign-csr - perm:admin:devices:view - perm:admin:topics:view - perm:roles:add - perm:roles:add-users - perm:roles:update - perm:roles:permissions - perm:roles:details - perm:roles:view - perm:roles:create-combined-role - perm:roles:delete - perm:dashboard:vulnerabilities - perm:dashboard:non-compliant-count - perm:dashboard:non-compliant - perm:dashboard:by-groups - perm:dashboard:device-counts - perm:dashboard:feature-non-compliant - perm:dashboard:count-overview - perm:dashboard:filtered-count - perm:dashboard:details - perm:get-activity - perm:devices:delete - perm:devices:applications - perm:devices:effective-policy - perm:devices:compliance-data - perm:devices:features - perm:devices:operations - perm:devices:search - perm:devices:details - perm:devices:update - perm:devices:view - perm:view-configuration - perm:manage-configuration - perm:policies:remove - perm:policies:priorities - perm:policies:deactivate - perm:policies:get-policy-details - perm:policies:manage - perm:policies:activate - perm:policies:update - perm:policies:changes - perm:policies:get-details - perm:users:add - perm:users:details - perm:users:count - perm:users:delete - perm:users:roles - perm:users:user-details - perm:users:credentials - perm:users:search - perm:users:is-exist - perm:users:update - perm:users:send-invitation - perm:admin-users:view - perm:admin:devices:update-enrollment - perm:groups:devices - perm:groups:update - perm:groups:add - perm:groups:device - perm:groups:devices-count - perm:groups:remove - perm:groups:groups - perm:groups:groups-view - perm:groups:share - perm:groups:count - perm:groups:roles - perm:groups:devices-remove - perm:groups:devices-add - perm:groups:assign - perm:device-types:configs - perm:device-types:features - perm:device-types:types - perm:applications:install - perm:applications:uninstall - perm:admin-groups:count - perm:admin-groups:view - perm:admin-groups:add - perm:notifications:mark-checked - perm:notifications:view - perm:admin:certificates:delete - perm:admin:certificates:details - perm:admin:certificates:view - perm:admin:certificates:add - perm:admin:certificates:verify - perm:admin - perm:devicetype:deployment - perm:device-types:events - perm:device-types:events:view - perm:admin:device-type - perm:admin:device-type:view - perm:admin:device-type:configs - perm:device:enroll - perm:geo-service:analytics-view - perm:geo-service:alerts-manage - appm:read - perm:devices:permanent-delete - perm:android:manage-configuration - perm:android:view-configuration - perm:user:permission-view - perm:ios:view-configuration - perm:ios:manage-configuration - perm:ios:dep-view - perm:ios:dep-add - perm:windows:view-configuration - perm:windows:manage-configuration - perm:android:lock-devices - perm:android:unlock-devices - perm:android:location - perm:android:clear-password - perm:android:control-camera - perm:android:update-default-sim - perm:android:google-account - perm:android:enterprise-wipe - perm:android:wipe - perm:android:ring - perm:android:applications - perm:android:reboot - perm:android:change-LockTask - perm:android:mute - perm:android:configure-display-message - perm:android:send-app-restrictions - perm:android:file-transfer - perm:android:set-webclip - perm:android:set-password-policy - perm:android:change-lock-code - perm:android:upgrade-firmware - perm:android:send-notification - perm:geo-service:geo-fence - perm:metadata:view - perm:metadata:create - perm:metadata:update - perm:ios:lock - perm:ios:location - perm:ios:ring - perm:ios:clear-passcode - perm:ios:enterprise-wipe - perm:ios:notification - perm:ios:wipe-data - perm:ios:boolean-setting - perm:ios:wallpaper - perm:ios:app-attributes - perm:ios:app-configurations - perm:mac-os:shut-down - perm:mac-os:restart - perm:android:info - perm:windows:lock-devices - perm:windows:disenroll - perm:windows:wipe - perm:windows:ring - perm:windows:lock-reset - perm:windows:reboot - perm:windows:location - perm:admin:tenant:view - perm:admin:metadata:view - perm:android:authenticate-account - {% if mdm_ui_conf.scopes is defined %} - {%- for scope in mdm_ui_conf.scopes -%} - {{scope}} - {% endfor %} - {% endif %} - - - {% if mdm_ui_conf.sso_conf is defined %} - {{mdm_ui_conf.sso_conf.issuer}} - {% else %} - device-mgt - {% endif %} - - -