ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhan Neethiraj <mad...@apache.org>
Subject Review Request 72329: RANGER-2781: updated default policy creation to handle policy-items with no users
Date Tue, 07 Apr 2020 01:37:21 GMT

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

Review request for ranger, deepak sharma, Kishor Gollapalliwar, Abhay Kulkarni, Mehul Parikh,
Mugdha Varadkar, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

- fixed incorrect condition that checked for presence of users, to validate a policy-item.
Updated to look for any of these: users/groups/roles
- updated to allow roles and isDelegateAdmin flag to be specified for default policies
- updated to allow creation of multiple policy-items for default policies


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBaseService.java 336911a28

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


Diff: https://reviews.apache.org/r/72329/diff/1/


Testing
-------

- verified that default policies are created correctly for policy-items containing only users/groups/roles,
and combinations


Thanks,

Madhan Neethiraj


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message