-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70940/
-----------------------------------------------------------
(Updated June 26, 2019, 9:53 p.m.)
Review request for ranger, Madhan Neethiraj, Ramesh Mani, and Velmurugan
Periasamy.
Changes
-------
RangerTransactionService class is now used to wire up function to create and
link tag service. With this design, only changes needed are local to
ServiceREST class. Changes are retested and verified for various configuration
settings described in the JIRA for correctness.
Bugs: RANGER-2481
https://issues.apache.org/jira/browse/RANGER-2481
Repository: ranger
Description
-------
Ranger supports tag-based policies out of the box. However, there are a few
configuration steps that need to be performed in order to set up Ranger to
perform tag-based authorization. As these steps are often missed, it will be
useful to provide a commonly used/structured way of automatically creating tag
service and linking it to resource service.
This may be controlled through few configuration parameters:
tag.service.auto.create=<true|false> ==> If tag-service needs to be created
when resource-service is created.
tag.service.name=<auto|tag-service-name> ==> If tag-service needs to be
created, how is it named (automatically or user-specified)
tag.service.auto.link=<true|false> ==> If resource-service needs to be linked
to the tag-service
Diffs (updated)
-----
security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java
1d9391f20
security-admin/src/test/java/org/apache/ranger/rest/TestServiceREST.java
321d1c522
Diff: https://reviews.apache.org/r/70940/diff/4/
Changes: https://reviews.apache.org/r/70940/diff/3-4/
Testing
-------
Tested by creating a resource service, and ensuring that corresponding tag
service is created and linked with resource service
Thanks,
Abhay Kulkarni