-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75202/
-----------------------------------------------------------
Review request for ranger, Abhishek Patil, bhavik patel, Brijesh Bhalala,
Dineshkumar Yadav, Madhan Neethiraj, Mehul Parikh, and Mugdha Varadkar.
Bugs: RANGER-4901
https://issues.apache.org/jira/browse/RANGER-4901
Repository: ranger
Description
-------
In Ranger React UI, in admin audits, the "Service name" field is missing for
the audits of operation type "Import Delete".
In Backbone UI, for the same admin audits, the "Service name" field is present.
*Steps to reproduce :-*
1. Login to Ranger admin UI
2. Export the policies for any service, for e.g, cm_hdfs
3. Import the policies from the json file which was obtained in step 2. While
importing the policies, check the override option.
4. Navigate to the admin audits page, and in the admin audits page, audits will
be generated for "Import Delete" action.
5. Click on any audit with the "Import Delete" action, in the popup, the
details are present for the policy which is deleted during the policy import
operation.
In the popup, the service name field is missing
6. Now switch to Backbone UI, navigate to admin audits page, and click on the
same audit. In the popup, the service name field is present for the audit
*Attachments :-*
1. Screenshot 1 : Admin audit for "Import Delete" operation in Backbone UI,
displaying the service name field
2. Screenshot 2 : Admin audit for "Import Delete" operation in React UI, which
does not contain the service name field
Diffs
-----
security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/AdminLogs/PolicyLogs.jsx
85e64aa8a
Diff: https://reviews.apache.org/r/75202/diff/1/
Testing
-------
Tested that after this patch import delete policy log populate Service Name
field properly.
Thanks,
Dhaval Rajpara