You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Server] Reuse table credential authorization for Iceberg reads after migration #2024
Is your feature request related to a problem? Please describe.
PR #2015 uses VEND_TABLE_CREDENTIAL with operation=READ to decide whether Iceberg loadTable includes credentials. loadCredentials still uses VEND_ICEBERG_TABLE_CREDENTIAL. This policy repeats the read checks and falls back to GET_TABLE when the migration flag is disabled. The repeated checks could drift over time.
Describe the solution you would like
After the server.authorization.strict-privilege-checks migration flag is removed, use VEND_TABLE_CREDENTIAL for loadCredentials with operation fixed to READ by the server. Keep loadTable on GET_TABLE and use the shared read check to decide whether to include credentials.
Supply READ as a fixed server value for the loadCredentials authorization check, as loadTable already does. Request values must not override it. Native and Delta requests must keep using their requested operation.
Delete VEND_ICEBERG_TABLE_CREDENTIAL and its repeated read checks. Preserve all three read requirements: catalog OWNER or USE_CATALOG, schema OWNER or USE_SCHEMA, and table OWNER or SELECT.
If the credential read check fails, loadTable must still return metadata when GET_TABLE passes. Omit credential config and the refresh endpoint. loadCredentials must return 403 when the read check fails.
Keep tests for metadata-only responses, allowed credentials, denied loadCredentials, and ETag changes after a read grant. Verify that native and Delta READ and READ_WRITE decisions stay unchanged. Test that request values cannot replace the fixed Iceberg operation.
Activity
[Server] Check read access before returning Iceberg credentials (#2015)