-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73438/
-----------------------------------------------------------

Review request for ranger, Dhaval Shah, Abhay Kulkarni, Madhan Neethiraj, Mehul 
Parikh, Ramesh Mani, Sailaja Polavarapu, Vishal Suvagia, and Velmurugan 
Periasamy.


Bugs: RANGER-3325
    https://issues.apache.org/jira/browse/RANGER-3325


Repository: ranger


Description
-------

**Problem Statement:**
When exporting the policies from the Reports page in Excel and CSV format,
the information about the roles in the policy is not present.
The roles information for a particular policy is visible when the policy 
information
is exported in JSON format.

**Steps to reproduce:**

1. Create a role
2. Create a policy on that role
3. On the reports page, export the policies information in all the three 
available formats ( Excel, CSV, JSON).
4. When the files are inspected, the roles information in the policy is present 
only in the JSON file. Not in the Excel and CSV files.

**Proposed Solution:**
Patch will add the role information also while generating the Excel/CSV files. 
Policy's roles details are already available in the filtered policies list.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java 
50ab32f9b 


Diff: https://reviews.apache.org/r/73438/diff/1/


Testing
-------

Tested with patch and able to see policy roles for each policy in the 
downloaded Excel and CSV file.


Thanks,

Pradeep Agrawal

Reply via email to