-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74583/
-----------------------------------------------------------
Review request for ranger, Anand Nadar, Madhan Neethiraj, and Subhrat Chaudhary.
Bugs: RANGER-4395
https://issues.apache.org/jira/browse/RANGER-4395
Repository: ranger
Description
-------
Currently we are not validating SharedResource Objects resources field if they
are already present in the database ,we need to add that validation
Diffs
-----
agents-common/src/main/java/org/apache/ranger/plugin/errors/ValidationErrorCode.java
f32c8b3fc
security-admin/src/main/java/org/apache/ranger/validation/RangerGdsValidationDBProvider.java
cd8fcc696
security-admin/src/main/java/org/apache/ranger/validation/RangerGdsValidationDataProvider.java
ab74e90e4
security-admin/src/main/java/org/apache/ranger/validation/RangerGdsValidator.java
374ac046d
Diff: https://reviews.apache.org/r/74583/diff/1/
Testing
-------
1)Add SharedResource with duplicated resources will get validation Error
Thanks,
Prashant Satam