You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ni...@apache.org on 2020/11/10 10:46:28 UTC

[ranger] branch master updated (34a948c -> 587353f)

This is an automated email from the ASF dual-hosted git repository.

ni3galave pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git.


    from 34a948c  RANGER-3067: Schema changes to improve performance of chained plugin feature
     new e119ae0  RANGER-3073 : Incorrect UI hint message for password validation in FIPS environment
     new 587353f  RANGER-3076 : [New UI] if service side bar expanded then include/exclude toggle button in hive policy gets shrink

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../webapp/scripts/modules/globalize/message/en.js |  2 +-
 .../scripts/views/policies/RangerPolicyCreate.js   | 11 +++---
 security-admin/src/main/webapp/styles/xa.css       | 43 +++++++++++++++++++++-
 3 files changed, 49 insertions(+), 7 deletions(-)


[ranger] 02/02: RANGER-3076 : [New UI] if service side bar expanded then include/exclude toggle button in hive policy gets shrink

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ni3galave pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit 587353f13f7626f5e0fd90ec89982bc4dbda86a4
Author: Nitin Galave <ni...@apache.org>
AuthorDate: Mon Nov 9 23:01:11 2020 +0530

    RANGER-3076 : [New UI] if service side bar expanded then include/exclude toggle button in hive policy gets shrink
---
 .../scripts/views/policies/RangerPolicyCreate.js   | 11 +++---
 security-admin/src/main/webapp/styles/xa.css       | 43 +++++++++++++++++++++-
 2 files changed, 48 insertions(+), 6 deletions(-)

diff --git a/security-admin/src/main/webapp/scripts/views/policies/RangerPolicyCreate.js b/security-admin/src/main/webapp/scripts/views/policies/RangerPolicyCreate.js
index f5ecc19..65c4f66 100644
--- a/security-admin/src/main/webapp/scripts/views/policies/RangerPolicyCreate.js
+++ b/security-admin/src/main/webapp/scripts/views/policies/RangerPolicyCreate.js
@@ -154,11 +154,12 @@ define(function(require){
 
 		/** on render callback */
 		onRender: function() {
-			// if(localStorage.getItem('setOldUI') == "false" || localStorage.getItem('setOldUI') == null) {
-			// 	App.rContent.$el.addClass('expanded-contant');
-			// } else {
-			// 	App.rContent.$el.removeClass('expanded-contant');
-			// }
+			if((localStorage.getItem('setOldUI') == "false" || localStorage.getItem('setOldUI') == null)
+				&& App.rSideBar.$el.hasClass('expanded')) {
+				App.rContent.$el.addClass('expanded-contant');
+			} else {
+				App.rContent.$el.removeClass('expanded-contant');
+			}
 			XAUtil.showAlerForDisabledPolicy(this);
 			this.rForm.show(this.form);
 			this.rForm.$el.dirtyFields();
diff --git a/security-admin/src/main/webapp/styles/xa.css b/security-admin/src/main/webapp/styles/xa.css
index c9edbfa..3c7a7b8 100644
--- a/security-admin/src/main/webapp/styles/xa.css
+++ b/security-admin/src/main/webapp/styles/xa.css
@@ -4461,7 +4461,48 @@ input.textFiledInputPadding:disabled {
   position: relative;
   bottom: 6px;
   cursor: pointer;
-}/*[fieldclass="resorces-css"] .control-label {
+}
+
+.recursive-toggle .toggle-off {
+  margin-left: -12px !important;
+}
+
+@media (min-width: 2000px){
+  .expanded-contant .include-toggle{
+    margin-left:400px;
+  }
+  .expanded-contant .recursive-toggle-2{
+    margin-left:500px;
+  }
+  .recursive-toggle-2 {
+    margin-left:600px;
+  }
+}
+
+@media (min-width: 2500px){
+  .expanded-contant .include-toggle{
+    margin-left:500px;
+  }
+  .expanded-contant .recursive-toggle-2{
+    margin-left:600px;
+  }
+  .recursive-toggle-2 {
+    margin-left:700px;
+  }
+}
+
+@media (min-width: 3000px){
+  .expanded-contant .include-toggle{
+    margin-left:550px;
+  }
+  .expanded-contant .recursive-toggle-2{
+    margin-left:650px;
+  }
+  .recursive-toggle-2 {
+    margin-left:750px;
+  }
+}
+/*[fieldclass="resorces-css"] .control-label {
   margin-top: 0px;
   margin-right: -15px
 }*/


[ranger] 01/02: RANGER-3073 : Incorrect UI hint message for password validation in FIPS environment

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ni3galave pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit e119ae0d24ea21627ef19978efaee349f471bc3b
Author: Nitin Galave <ni...@apache.org>
AuthorDate: Sun Nov 8 06:30:46 2020 +0530

    RANGER-3073 : Incorrect UI hint message for password validation in FIPS environment
---
 security-admin/src/main/webapp/scripts/modules/globalize/message/en.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js b/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
index 3b99c86..3bc933f 100644
--- a/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
+++ b/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
@@ -520,7 +520,7 @@ define(function(require) {
 				newPasswordError       :'Invalid Password. Minimum 8 characters with min one alphabet and one numeric.',
 				emailIdError           : 'Please enter valid email address.',
 				enterValidName         : 'Please enter valid name.',
-				passwordError          :'Password should be minimum 8 characters with min one alphabet and one numeric.',
+				passwordError          :'Password should be minimum 8 characters with min one alphabet and one numeric. For FIPS environment password should be minimum 14 characters with min one alphabet and one numeric.',
 				userNameValidationMsg  :'1. User name should be start with alphabet / numeric / underscore / non-us characters.<br> 2. Allowed special character ,._\-+/@= and space. <br>3. Name length should be greater than one.',
 				groupNameValidationMsg :'1. Group name should be start with alphabet / numeric / underscore / non-us characters.<br> 2. Allowed special character ,._\-+/@= and space. <br>3. Name length should be greater than one.',
                 firstNameValidationMsg :'1. First name should be start with alphabet / numeric / underscore / non-us characters.<br> 2. Allowed special character ._-@ and space. <br>3. Name length should be greater than one.',