rtrivedi12 opened a new pull request, #4304: URL: https://github.com/apache/hive/pull/4304
…uthorization for temporary tables This change includes authorization of the database object during the "drop table" command. Similar to "Create table", DB permissions should be verified in the case of "drop table" too. Also, In case of a temporary table drop, empty input, and output HivePrivilegeObject are sent to the authorizer as temporary tables are skipped from authorization. ### What changes were proposed in this pull request? Authorize write actions on the database during drop table action, and add the database object to the list of output objects sent for verifying privileges. ### Why are the changes needed? To prevent unauthorized users from dropping temp tables from any database ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Manually -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
