You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by di...@apache.org on 2026/04/08 22:57:24 UTC

(polaris) branch main updated: Fix authorizeLoadTable() call in IcebergCatalogHandler (#4150)

This is an automated email from the ASF dual-hosted git repository.

dimas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new c29e01fbd9 Fix authorizeLoadTable() call in IcebergCatalogHandler (#4150)
c29e01fbd9 is described below

commit c29e01fbd9b68294f906e00569178c9374e44fe0
Author: Dmitri Bourlatchkov <dm...@gmail.com>
AuthorDate: Wed Apr 8 18:57:18 2026 -0400

    Fix authorizeLoadTable() call in IcebergCatalogHandler (#4150)
    
    Fix method parameters that got skewed due to overlapped
    merges of #3750 and #3997
---
 .../apache/polaris/service/catalog/iceberg/IcebergCatalogHandler.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalogHandler.java b/runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalogHandler.java
index d69e843b04..1a556eb5cc 100644
--- a/runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalogHandler.java
+++ b/runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalogHandler.java
@@ -755,8 +755,7 @@ public abstract class IcebergCatalogHandler extends CatalogHandler implements Au
   public ImmutableLoadCredentialsResponse loadCredentials(
       TableIdentifier tableIdentifier, Optional<String> refreshCredentialsEndpoint) {
 
-    Set<PolarisStorageActions> actionsRequested =
-        authorizeLoadTable(tableIdentifier, EnumSet.of(VENDED_CREDENTIALS));
+    Set<PolarisStorageActions> actionsRequested = authorizeLoadTable(tableIdentifier, true);
 
     // Optimized credential vending is only supported for native Polaris catalogs.
     // Federated/external catalogs are passthrough — writes happen directly on the