Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.5.0
-
None
-
None
Description
Hive loads the authorizer and calls it's applyAuthorizationConfigPolicy function even if authorization is disabled. This was done for sql standard authorization, so that even from hive-cli (where authorization is disabled), new tables that get created have the correct permissions.
It would be good to have Ranger also behave same way as SQL Std auth, this can be done by not calling SettableConfigUpdater.setHiveConfWhiteList and not adding other restrictions from its HiveAuthorizer.applyAuthorizationConfigPolicy implementation.