-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54814/
-----------------------------------------------------------
Review request for ranger, Don Bosco Durai, Gautam Borad, Madhan Neethiraj,
Ramesh Mani, and Velmurugan Periasamy.
Bugs: RANGER-1214
https://issues.apache.org/jira/browse/RANGER-1214
Repository: ranger
Description
-------
**Problem Statement**
Users need to be able to export and import policies from Ranger Admin UI from
one cluster into another for easily bootstrapping new clusters or moving
policies from cluster1 -> cluster2.
**Need following features:**
Provide a filter to export specific repos or specific policies.
Option to overwrite existing policies in the destination cluster.
Diffs
-----
security-admin/pom.xml 01d5fb8
security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java
dfe927f
security-admin/src/main/java/org/apache/ranger/common/RangerServicePoliciesCache.java
2788fd1
security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java f272ff3
security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
63a5b0f
security-admin/src/main/webapp/scripts/views/DownloadServicePolicy.js
PRE-CREATION
security-admin/src/main/webapp/scripts/views/UploadServicePolicy.js
PRE-CREATION
security-admin/src/main/webapp/scripts/views/policymanager/ServiceLayout.js
64c5f4c
security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js bf00a7e
security-admin/src/main/webapp/scripts/views/reports/UserAccessLayout.js
39770d9
security-admin/src/main/webapp/styles/xa.css 7d86dfa
security-admin/src/main/webapp/templates/common/ServiceManagerLayout_tmpl.html
72ae4de
security-admin/src/main/webapp/templates/common/ServiceMappingItem.html
PRE-CREATION
security-admin/src/main/webapp/templates/common/downloadservicepolicy_tmpl.html
PRE-CREATION
security-admin/src/main/webapp/templates/common/uploadservicepolicy_tmpl.html
PRE-CREATION
security-admin/src/main/webapp/templates/reports/UserAccessLayout_tmpl.html
da323ef
src/main/assembly/admin-web.xml b06cdec
Diff: https://reviews.apache.org/r/54814/diff/
Testing
-------
Verified :
1) UI based import / export feature from list of services page for all services
of a service type.
2) UI based import / export feature from list of services page for particular
services of a service type.
3) UI based export from Reports page
4) REST api verification done using curl command as well for import / export of
policies.
5) Verified overrides functionality provided in REST api for import policies.
6) Verified plugin enforcements after importing set of policies.
Thanks,
Mehul Parikh