You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Mugdha Varadkar <mu...@gmail.com> on 2023/06/29 07:02:34 UTC
Review Request 74502: RANGER-4305: Two api requests for single export request triggered from Reports page
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74502/
-----------------------------------------------------------
Review request for ranger, Brijesh Bhalala, Dhaval Rajpara, Madhan Neethiraj, and Mehul Parikh.
Bugs: RANGER-4305
https://issues.apache.org/jira/browse/RANGER-4305
Repository: ranger
Description
-------
Scenario:
1.Click on export policy option from Ranger admin UI home page. The policies are exported and a single api request is invoked, also admin audits show one audit for the export operation
2. Navigate to Reports page and click on export (choose json, excel or csv). 2 api requests are invoked and also 2 admin audit operation are logged for each request
Please refer attached screenshots
Issue is not observed in old UI and happens only on new UI with navigation to reports page happening from left hand side tab
Diffs
-----
security-admin/src/main/webapp/react-webapp/src/styles/style.css 37dcab847c6ce3b0948231455aebb8bdc44fb112
security-admin/src/main/webapp/react-webapp/src/views/Reports/UserAccessLayout.jsx 05c68b76265e45d1b10800828cd32b2818cce43e
Diff: https://reviews.apache.org/r/74502/diff/1/
Testing
-------
Tested changes on a cluster setup with Ranger Admin build with React JS code base.
Successful completion of build command :
mvn clean compile package -Psecurity-admin-react
Thanks,
Mugdha Varadkar