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



@Nikhil - consider updating RangerBaseService to allow custom default policies 
to be specified via service-configurations as shown below. All services can 
benefit from this approach.

default-policy.1.name=ATLAS_HOOK
default-policy.1.resource.topic=ATLAS_HOOK
default-policy.1.policyItem.1.users=hive,hbase
default-policy.1.policyItem.1.groups=
default-policy.1.policyItem.1.accessTypes=publish
default-policy.1.policyItem.2.users=atlas
default-policy.1.policyItem.2.groups=
default-policy.1.policyItem.2.accessTypes=consume

default-policy.2.name=ATLAS_HOOK
default-policy.2.resource.topic=ATLAS_HOOK
default-policy.2.policyItem.1.users=atlas
default-policy.2.policyItem.1.accessTypes=publish
default-policy.2.policyItem.2.users=rangertagsync
default-policy.2.policyItem.2.accessTypes=consume

- Madhan Neethiraj


On March 23, 2018, 12:50 p.m., Nikhil P wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66245/
> -----------------------------------------------------------
> 
> (Updated March 23, 2018, 12:50 p.m.)
> 
> 
> Review request for ranger, Ankita Sinha, Don Bosco Durai, Gautam Borad, Abhay 
> Kulkarni, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Selvamohan 
> Neethiraj, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2029
>     https://issues.apache.org/jira/browse/RANGER-2029
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Ranger Kafka default policy creation improvement.
> 
> 
> Diffs
> -----
> 
>   
> plugin-kafka/src/main/java/org/apache/ranger/services/kafka/RangerServiceKafka.java
>  b7bbe98 
> 
> 
> Diff: https://reviews.apache.org/r/66245/diff/1/
> 
> 
> Testing
> -------
> 
> 1) Tested if required policies are getting created when required service 
> configs are given.
> 
> 
> Thanks,
> 
> Nikhil P
> 
>

Reply via email to