feat: add replicationAdmin and securityAuditAdmin canned policies#227
Open
varun0630 wants to merge 7 commits intominio:mainfrom
Open
feat: add replicationAdmin and securityAuditAdmin canned policies#227varun0630 wants to merge 7 commits intominio:mainfrom
varun0630 wants to merge 7 commits intominio:mainfrom
Conversation
tablesReadOnly mirrors AWS AmazonS3TablesReadOnlyAccess (Get* + List*). tablesReadWrite adds data write, non-destructive table mutations, and full view CRUD on top of read-only, without DDL (no create/delete namespace or table).
…policy The tablesReadWrite policy was missing S3TablesCreateTableAction, causing all CreateTable requests from users with this policy to receive 403 Access Denied even though the policy intent includes non-destructive table mutations.
…Only/tablesReadWrite
Adds two new scoped admin canned policies to DefaultPolicies: - replicationAdmin: site replication and bucket replication management (SiteReplication*, TablesReplication*, bucket replication config) but no IAM, general infrastructure, or S3 data access. - securityAuditAdmin: read-only access to IAM config, server topology, diagnostics, and bucket security settings for compliance auditing. Mirrors the intent of AWS SecurityAudit. No write or S3 data access.
klauspost
requested changes
Apr 8, 2026
Updated copyright and license information in constants.go.
klauspost
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds two new scoped admin canned policies to
DefaultPolicies:replicationAdmin: site replication and bucket replication management(
SiteReplication*,TablesReplication*, bucket replication config) butno IAM, general infrastructure, or S3 data access.
securityAuditAdmin: read-only access to IAM config, server topology,diagnostics, and bucket security settings for compliance auditing. Mirrors
the intent of AWS SecurityAudit.
No write or S3 data access.
Motivation and Context
Organizations need scoped admin roles beyond
iamAdminandinfraAdmin.replicationAdminenables dedicated replication operators without grantingbroad infra access.
securityAuditAdminenables compliance/security teamsto audit configuration without any mutation capabilities.
How to test
Unit tests validating enforcement are in miniohq/eos (companion PR).