----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/67539/#review205315 -----------------------------------------------------------
Sentry should be able to differenciate if the just table rename or moving table from database to another. Privileges that sentry expects shoud differ based on this. If a table is moved from database to another, the user should have "ALL" permissions on that table to avoid elevation of his privilege. - kalyan kumar kalvagadda On June 12, 2018, 8:16 p.m., Na Li wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/67539/ > ----------------------------------------------------------- > > (Updated June 12, 2018, 8:16 p.m.) > > > Review request for sentry, kalyan kumar kalvagadda and Sergio Pena. > > > Bugs: sentry-2264 > https://issues.apache.org/jira/browse/sentry-2264 > > > Repository: sentry > > > Description > ------- > > change privilege for table rename > > > Diffs > ----- > > > sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/authz/HiveAuthzPrivilegesMap.java > 4f932ea > > sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestOperationsPart1.java > 1e72990 > > sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestOperationsPart2.java > cf89b5d > > > Diff: https://reviews.apache.org/r/67539/diff/2/ > > > Testing > ------- > > > Thanks, > > Na Li > >