You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Alok Lal <al...@hortonworks.com> on 2015/06/13 04:12:50 UTC

Review Request 35412: RANGER-553 Default policy creation during service creation should handle service defs with multiple hierarchies, e.g. hive, properly

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

Review request for ranger and Madhan Neethiraj.


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


Repository: ranger


Description
-------

Default policy creation during service creation should handle service defs with multiple hierarchies, e.g. hive, properly
- Create one policy for each hierarchy in the service def.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java d57f0be 

Diff: https://reviews.apache.org/r/35412/diff/


Testing
-------

Manual testing using REST api to create Hive and Hdfs services.  Ensured that default polices are created for each valid hierarchy.
Create and update of policies for the newly created service.


Thanks,

Alok Lal