Fredy Wijaya created IMPALA-8528:
------------------------------------
Summary: Refactor authorization code from AnalysisContext to
AuthorizationChecker
Key: IMPALA-8528
URL: https://issues.apache.org/jira/browse/IMPALA-8528
Project: IMPALA
Issue Type: Sub-task
Components: Frontend
Reporter: Fredy Wijaya
Assignee: Fredy Wijaya
Currently the authorization code is scattered in few places, such as
AnalysisContext and AuthorizationChecker. This makes it difficult to add things
such as doing pre and post authorization check for audit logging, etc. We need
to consolidate the authorization code into a single place and perhaps make
AuthorizationChecker as an interface and create a BaseAuthorizationChecker that
contains many useful authorization methods.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)