-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62325/
-----------------------------------------------------------
Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O
hEigeartaigh, Gautam Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan
Neethiraj, Velmurugan Periasamy, and Qiang Zhang.
Bugs: RANGER-1778
https://issues.apache.org/jira/browse/RANGER-1778
Repository: ranger
Description
-------
The current logic is as following:
1?If policy choose “database”, the Permissions can choose "Read" and "Write"
2?If policy choose “url”, the Permissions can not choose "Read" and "Write"
Above logic is error. The right logic should be as following:
1?If policy choose “database”, the Permissions can not choose "Read" and "Write"
2?If policy choose “url”, the Permissions can only choose "Read" and "Write"
3?Control relation values between "database" and "url" when user switched
them.That is, we should control the linkage of the switch for "database" and
"url".
Please refer to
https://community.hortonworks.com/questions/135781/ranger-hive-read-and-write-permissions.html
Diffs
-----
security-admin/src/main/webapp/scripts/views/policies/PermissionList.js
bb649840
security-admin/src/main/webapp/scripts/views/policies/RangerPolicyForm.js
9a8d82db
Diff: https://reviews.apache.org/r/62325/diff/1/
Testing
-------
Thanks,
pengjianhua