Browse Source
s3tables: implement granular authorization and refine error responses
s3tables: implement granular authorization and refine error responses
- Remove mandatory ACTION_ADMIN at the router level - Enforce granular permissions in bucket and namespace handlers - Prioritize AccountID in ExtractPrincipalFromContext for ARN matching - Distinguish between 404 (NoSuchBucket) and 500 (InternalError) in metadata lookups - Clean up unused imports in s3api_tables.gopull/8147/head
4 changed files with 45 additions and 4 deletions
-
5weed/s3api/s3api_tables.go
-
13weed/s3api/s3tables/handler_bucket_get_list_delete.go
-
28weed/s3api/s3tables/handler_namespace.go
-
3weed/s3api/s3tables/permissions.go
Write
Preview
Loading…
Cancel
Save
Reference in new issue