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

(Updated Oct. 8, 2023, 5:37 p.m.)


Review request for ranger and Madhan Neethiraj.


Changes
-------

Calling GdsDBStore.getDatasetPolicies to get dataset policies.


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


Repository: ranger


Description
-------

With the changes in https://issues.apache.org/jira/browse/RANGER-4445, dataset 
name is not getting added in the resources for the dataset policy. The 
computation of DatasetSummary.principalsCount is based on getting policies 
based on dataset name. The principalsCount is not getting updated in 
DatasetSummary.


Diffs (updated)
-----

  security-admin/src/main/java/org/apache/ranger/biz/GdsDBStore.java dce45729f 


Diff: https://reviews.apache.org/r/74648/diff/2/

Changes: https://reviews.apache.org/r/74648/diff/1-2/


Testing
-------

Validated proper prinicpal count from policies - 
DatasetSummary.principalsCount, is coming for datasets.


Thanks,

Subhrat Chaudhary

Reply via email to