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 2021/07/16 09:59:46 UTC

[ranger] branch master updated: RANGER-3338 : Masking and Row filter policy are getting exported from report page when Policy type=Access.

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


The following commit(s) were added to refs/heads/master by this push:
     new a2d4360  RANGER-3338 : Masking and Row filter policy are getting exported from report page when Policy type=Access.
a2d4360 is described below

commit a2d4360f581ae90d190e73b8947f4db9db132eea
Author: Nitin Galave <ni...@apache.org>
AuthorDate: Wed Jul 14 17:22:32 2021 +0530

    RANGER-3338 : Masking and Row filter policy are getting exported from report page when Policy type=Access.
---
 .../src/main/webapp/scripts/views/reports/UserAccessLayout.js          | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/security-admin/src/main/webapp/scripts/views/reports/UserAccessLayout.js b/security-admin/src/main/webapp/scripts/views/reports/UserAccessLayout.js
index cbd834c..e6ec81f 100644
--- a/security-admin/src/main/webapp/scripts/views/reports/UserAccessLayout.js
+++ b/security-admin/src/main/webapp/scripts/views/reports/UserAccessLayout.js
@@ -210,6 +210,9 @@ define(function(require) {'use strict';
                                 this.setupGroupAutoComplete();
                         }
 			this.renderComponentAndPolicyTypeSelect();
+			if(!_.isUndefined(this.ui.policyType.val()) && _.isUndefined(this.urlQueryParams)) {
+				this.urlQueryParams = {'policyType' : this.ui.policyType.val()}
+			}
                         if(this.urlQueryParams) {
                                 this.onSearch()
                         } else {