> On 九月 14, 2017, 3:13 p.m., Velmurugan Periasamy wrote: > > security-admin/src/main/webapp/scripts/views/policies/PermissionList.js > > Lines 818 (patched) > > <https://reviews.apache.org/r/62325/diff/1/?file=1822270#file1822270line818> > > > > It would be better to seek a generic solution.
Ok. Very nice advice, I had fixed it. Thanks a lots. - pengjianhua ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62325/#review185411 ----------------------------------------------------------- On 九月 15, 2017, 11:35 a.m., pengjianhua wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62325/ > ----------------------------------------------------------- > > (Updated 九月 15, 2017, 11:35 a.m.) > > > 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/utils/XAUtils.js 19798470 > 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/3/ > > > Testing > ------- > > > Thanks, > > pengjianhua > >
