-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70624/
-----------------------------------------------------------
Review request for ranger, Madhan Neethiraj, Mehul Parikh, and Sarath
Subramanian.
Bugs: RANGER-2417
https://issues.apache.org/jira/browse/RANGER-2417
Repository: ranger
Description
-------
Atlas to set Entity owner value to RangerAccessResource ownerUser attribute for
authorization with {owner} user
Diffs
-----
plugin-atlas/src/main/java/org/apache/ranger/authorization/atlas/authorizer/RangerAtlasAuthorizer.java
bf588e229
plugin-atlas/src/main/java/org/apache/ranger/services/atlas/RangerServiceAtlas.java
99510a436
Diff: https://reviews.apache.org/r/70624/diff/1/
Testing
-------
1) Created entity policy for Entity resources and assigned *{owner}* as a user.
2) All the hive_table, hive_column, hive* enitites which are created by hive
hook where owner is set as *hive* were accessable when user hive was acccessing
them.
curl -u hive
http://ctr-e139-1542663976389-107809-01-000004.hwx.site:21000/api/atlas/v2/entity/guid/4de39fc9-57bd-48a2-829f-231ca09aba1c
Thanks,
Nixon Rodrigues