Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion policy/actionset.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,14 @@ var implicitActions = map[Action]ActionSet{
// S3Tables actions implicitly allow their data actions
S3TablesGetTableDataAction: NewActionSet(GetObjectAction, ListMultipartUploadPartsAction),
S3TablesPutTableDataAction: NewActionSet(PutObjectAction, AbortMultipartUploadAction, ListBucketAction),
AllS3TablesActions: NewActionSet(GetObjectAction, PutObjectAction, ListBucketAction, ListMultipartUploadPartsAction, AbortMultipartUploadAction),
// S3TablesDeleteTableAction implicitly allows DeleteObjectAction to support table purging.
// This is needed because Spark's DROP TABLE ... PURGE performs client-side deletes rather than
// using purgeRequested=true to let the catalog handle deletion. This workaround grants the
// necessary privilege until the issue is fixed in Spark/Iceberg upstream.
// See: https://github.com/apache/iceberg/issues/14743
// https://github.com/apache/iceberg/issues/11023
S3TablesDeleteTableAction: NewActionSet(DeleteObjectAction),
AllS3TablesActions: NewActionSet(GetObjectAction, PutObjectAction, DeleteObjectAction, ListBucketAction, ListMultipartUploadPartsAction, AbortMultipartUploadAction),

// TableBucket actions implicitly allow their Warehouse counterparts
S3TablesCreateTableBucketAction: NewActionSet(S3TablesCreateWarehouseAction),
Expand Down
Loading