mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
Where the Service Reference gives an S3 operation no one answer, S3's user guide does. tools/aws/fetch_s3_required_actions.py copies its "Required permissions for Amazon S3 API operations" rows unchanged into tools/aws/sources/s3-required-actions.json, and the authorized-actions generator reads them: an operation's one required action (ListObjectsV2 is s3:ListBucket, CopyObject s3:PutObject), the action for one model's requests of an operation S3 and S3 Control both have (authorizedByModel: S3 Control's account-level GetPublicAccessBlock is s3:GetAccountPublicAccessBlock), and an Either row's choice by versionId where botocore gives it in the query (versioned). Measured entries quote the Service Authorization Reference for the account-level GetPublicAccessBlock the page mislabels and the version annotation actions it omits. The one answer the reference gives an operation several clients list goes to the namesake client (S3's GetBucketLifecycleConfiguration is s3:GetLifecycleConfiguration), and the file records the reference's spelling of an action named as its operation in another case (MemoryDB's CreateACL is memorydb:CreateAcl). IamAuthorizedActions reads the new sections and gives an action for a route's model and query, which IamActionRegistry uses wherever it reads a route's action. S3 stays hand-routed, so its rules still decide its requests; only the spellings show, in the action an AccessDenied message names. A hand-routed scope's routes list what their requests must carry, for the coverage test, which now also checks each model-specific action against that model's routes.