Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.2.0, 1.3.0, 2.0.0, 2.1.0
-
None
-
None
Description
CREATE-TABLE creates a new WriteEntity for the new table being created, whereas IMPORT does not mimic that behaviour.
While SQLStandardAuth itself does not care about this difference, external Authorizers, as with Ranger can and do make a distinction on this, and can have policies set up on patterns for objects that do not yet exist. Thus, we must emit a WriteEntity for the yet-to-be-created table as well.
Attachments
Issue Links
- relates to
-
RANGER-772 Hive plugin: Update Ranger authorizer to mimic changes made by Hive standard authorizer for the case when IMPORT can end up creating a table
- Resolved
-
HIVE-11988 [hive] security issue with hive & ranger for import table command
- Closed