Skip to content

feat: add --gcp-uniform-bucket-level-access flag to skip ACLs#91

Open
pushkar-anand wants to merge 1 commit into
instaclustr:masterfrom
pushkar-anand:fix/gcs-uniform-bucket-level-access
Open

feat: add --gcp-uniform-bucket-level-access flag to skip ACLs#91
pushkar-anand wants to merge 1 commit into
instaclustr:masterfrom
pushkar-anand:fix/gcs-uniform-bucket-level-access

Conversation

@pushkar-anand
Copy link
Copy Markdown

Add a configuration flag to conditionally skip setting predefined ACLs on GCS uploads when buckets have uniform bucket-level access enabled.

  • Add gcpUniformBucketLevelAccess boolean field to BaseBackupOperationRequest
  • Update GCPBackuper to conditionally apply BUCKET_OWNER_FULL_CONTROL ACL
  • Support flag in both regular backups and commit log backups
  • Maintain backward compatibility (defaults to false)

Fixes #89

@smiklosovic
Copy link
Copy Markdown
Collaborator

@pushkar-anand is this still a draft only or is this mergeable already?

@pushkar-anand
Copy link
Copy Markdown
Author

@smiklosovic: Need to update tests. Will mark it ready once the tests are fixed.

@pushkar-anand pushkar-anand force-pushed the fix/gcs-uniform-bucket-level-access branch from c361930 to 10c91af Compare September 24, 2025 08:08
@pushkar-anand pushkar-anand marked this pull request as ready for review September 24, 2025 08:08
@pushkar-anand
Copy link
Copy Markdown
Author

@smiklosovic Apologies for the long wait, the PR is ready for review. It is tested extensively and works correctly.

@smiklosovic
Copy link
Copy Markdown
Collaborator

@pushkar-anand can you please rebase it on top of 4.0.0 (current master branch). The plugin has gone through modularisation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] ESOP fails with GCP uniform bucket-level access enabled - predefinedAcl

2 participants