Project

General

Profile

Actions

Bug #73659

open
CB CB

account role doesn't check cross-account acl permissions

Bug #73659: account role doesn't check cross-account acl permissions

Added by Casey Bodley about 1 year ago. Updated about 1 year ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid tentacle
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
sts tenant role
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

before https://github.com/ceph/ceph/commit/b021d0f2f133da6ac9e5972b481094d86802e979, bucket ops calling verify_bucket_owner_or_policy() were granted permission based on bucket ownership. after, permissions are granted based on bucket ACLs

for tenant-style roles, ownership is based on the assuming user but RoleApplier::get_perms_from_aclspec() doesn't check for ACL grants against that user

as a result, the bucket ops that were calling verify_bucket_owner_or_policy() no longer get implicit access to the bucket through tenant-style roles - only iam policy could grant this access

CB Updated by Casey Bodley about 1 year ago Actions #1

  • Status changed from New to In Progress
  • Pull request ID set to 66078

CB Updated by Casey Bodley about 1 year ago Actions #2

  • Status changed from In Progress to Fix Under Review

CB Updated by Casey Bodley about 1 year ago Actions #3

  • Subject changed from tenanted role doesn't check acl permissions against assuming user to account role doesn't check cross-account acl permissions
Actions

Also available in: PDF Atom