* s3tables: table policy and maintenance reads refuse views and unfinished records
readTableMetadataAttr only checked that the table-metadata attribute was
present, so the table policy and maintenance operations accepted a view or
a record a create or rename had not finished writing. Route it through
tableMetadata, the check GetTable and the other table operations use.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* s3tables: tagging a table ARN refuses a view or unfinished record
TagResource, ListTagsForResource and UntagResource read the
table-metadata attribute directly for a table ARN, so a view or a record
still being created or renamed under that name took and answered tags as
a table. Read a table target through readTableMetadataAttr.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* s3tables: table record writes refuse a view
requireTableCreatedAt compared only the creation time, so a view holding
the name at write time was not rejected on its own. Refuse it, so table
policy, tag and maintenance writes never land on a view.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* s3tables: test table operations against a view and an unfinished record
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>