> On April 3, 2024, 7:41 a.m., Subhrat Chaudhary wrote:
> > security-admin/src/main/java/org/apache/ranger/biz/GdsDBStore.java
> > Lines 183 (patched)
> > <https://reviews.apache.org/r/74950/diff/1/?file=2286694#file2286694line183>
> >
> >     We should update policy when dataset name has changed. Please review.

I think only dataset name change has impact on a policy, as the policy name 
contains the dataset name. Is there any other case where policy update is 
needed?


- Anand


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


On April 2, 2024, 12:51 p.m., Anand Nadar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74950/
> -----------------------------------------------------------
> 
> (Updated April 2, 2024, 12:51 p.m.)
> 
> 
> Review request for ranger, Asit Vadhavkar, Madhan Neethiraj, Monika 
> Kachhadiya, Siddhesh Phatak, and Subhrat Chaudhary.
> 
> 
> Bugs: RANGER-4764
>     https://issues.apache.org/jira/browse/RANGER-4764
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> When a dataset/project name is modified, then the policyName of all it's 
> associated policies should be modified.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/GdsDBStore.java 
> a1a2f9920 
> 
> 
> Diff: https://reviews.apache.org/r/74950/diff/1/
> 
> 
> Testing
> -------
> 
> Validated policy name change of associated policies when dataset/project name 
> is modified.
> 
> 
> Thanks,
> 
> Anand Nadar
> 
>

Reply via email to