From 50ad9c19e62f5aa6b2888b17437aa6fb1e2c0a36 Mon Sep 17 00:00:00 2001 From: "Dhaval.Rajpara" Date: Mon, 27 Mar 2023 15:13:09 +0530 Subject: [PATCH] RANGER-4155 : Structure of resource(UI) hierarchy in policy form not proper formatted for multiple values. Signed-off-by: Nitin Galave (cherry picked from commit cc67b665fea0bc31c29499991ae9940983c8c1fb) --- .../src/main/webapp/scripts/modules/XAOverrides.js | 2 +- security-admin/src/main/webapp/styles/xa.css | 5 +++++ .../webapp/templates/policies/RangerPolicyForm_tmpl.html | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/security-admin/src/main/webapp/scripts/modules/XAOverrides.js b/security-admin/src/main/webapp/scripts/modules/XAOverrides.js index 2bc552b993..369b0f65ae 100644 --- a/security-admin/src/main/webapp/scripts/modules/XAOverrides.js +++ b/security-admin/src/main/webapp/scripts/modules/XAOverrides.js @@ -782,7 +782,7 @@ recursiveSupportToggleDiv = '
'; return _.template(selectTemplate+''+ - excludeSupportToggleDiv+''+recursiveSupportToggleDiv); + '
'+excludeSupportToggleDiv+''+recursiveSupportToggleDiv+'
'); }, }); diff --git a/security-admin/src/main/webapp/styles/xa.css b/security-admin/src/main/webapp/styles/xa.css index 52f9128f80..f5544cca07 100644 --- a/security-admin/src/main/webapp/styles/xa.css +++ b/security-admin/src/main/webapp/styles/xa.css @@ -4720,6 +4720,7 @@ input.textFiledInputPadding:disabled { } .form-resources.policy-resources .form-control.rosource-boder { padding: 0px !important; + height: 100%; } .form-resources.policy-resources .sameLevelDropdown { margin-right: 31px !important; @@ -4733,4 +4734,8 @@ input.textFiledInputPadding:disabled { } .wrap.position-relative.additional-resource{ padding: 20px 20px 0px 20px !important; +} +.excludeRecursiveSupport { + position: absolute; + top: 30px; } \ No newline at end of file diff --git a/security-admin/src/main/webapp/templates/policies/RangerPolicyForm_tmpl.html b/security-admin/src/main/webapp/templates/policies/RangerPolicyForm_tmpl.html index 864a399aad..5f6e99638d 100644 --- a/security-admin/src/main/webapp/templates/policies/RangerPolicyForm_tmpl.html +++ b/security-admin/src/main/webapp/templates/policies/RangerPolicyForm_tmpl.html @@ -69,7 +69,7 @@

 
-
+