[
https://issues.apache.org/jira/browse/HIVE-28957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng resolved HIVE-28957.
--------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
> Enhance TestHiveMetaStoreAuthorizer to Validate HiveMetaStoreAuthorizer
> Internals
> ---------------------------------------------------------------------------------
>
> Key: HIVE-28957
> URL: https://issues.apache.org/jira/browse/HIVE-28957
> Project: Hive
> Issue Type: Improvement
> Reporter: Jintong Jiang
> Assignee: Jintong Jiang
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> The current {{TestHiveMetaStoreAuthorizer}} has several limitations:
> * {*}Filter logic is untested{*}: It uses
> {{{}DummyHiveAuthorizerFactory{}}}, which bypasses validation of the real
> {{{}HiveMetaStoreAuthorizer{}}}'s filtering behavior.
> * {*}No verification of authorization objects{*}: The tests do not inspect
> the actual {{{}HivePrivilegeObject{}}}s created or passed to the authorizer.
> To address this, we need to enhance the test to:
> * Verify that the correct privilege objects are created for each operation
> * Ensure the appropriate filter contexts are constructed and applied
> * Validate the authorization flow for operations
> * Confirm that filtering functionality behaves as expected
--
This message was sent by Atlassian Jira
(v8.20.10#820010)