mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
Under IAM enforcement no S3 Tables request was checked: its model was not among the vendored REST routes and its namespace's request resources were not read, so no request mapped to an action and every call went through, DeleteTableBucket and the policy calls included. s3tables is now vendored by regen_rest_routes.py and read by the request-resources, tag-on-create and passed-role generators. A table bucket call is checked on the bucket its path names. A table's ARN ends in an id the service mints, which no request carries: a request names the table by its table bucket's ARN, its namespace and its name. A new generic rule in the request-resources generator reads such a type, found by its service by those path labels (or GetTable's query string members, when tableArn is absent), instead of filling the bucket's name from the table's name or reading the bucket's ARN as the table's. S3TablesStoredResourceArns answers it from the stored table, read only.