-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48336/
-----------------------------------------------------------
Review request for ranger, Ankita Sinha, Don Bosco Durai, Gautam Borad, Abhay
Kulkarni, Madhan Neethiraj, Mehul Parikh, Ramesh Mani, Selvamohan Neethiraj,
and Velmurugan Periasamy.
Bugs: RANGER-1000
https://issues.apache.org/jira/browse/RANGER-1000
Repository: ranger
Description
-------
**Problem Statement:** policy creation failing if policy type is not provided
**Proposed Solution:** if policy type is not provided default policy type
'ACCESS' will be considered.
Diffs
-----
agents-common/src/main/java/org/apache/ranger/plugin/model/validation/RangerPolicyValidator.java
35b2726
security-admin/src/main/resources/conf.dist/ranger-admin-default-site.xml
75c67d3
Diff: https://reviews.apache.org/r/48336/diff/
Testing
-------
**Steps Performed (With patch) :**
1. Installed and started Ranger admin.
2. By using create policy REST API tried to create policy without providing
policy type in JSON request.
**Expected Behavior:** Policy should get created.
**Actual Behavior:** Policy was created.
Thanks,
Pradeep Agrawal