An account boundary needs authorization on both sides
How grants on both sides of an account boundary, organizational limits, and assumed-role session restrictions determine whether a request is allowed. · associate
Effective permissions are the result for a particular caller, action, resource, and request context—not just a list of policy statements. An allow must cover the requested action and resource, and its conditions must match. An applicable explicit deny overrides an allow.
For direct cross-account access, the calling account must authorize the identity, and the resource account must authorize access to the resource. For example, a role in account A reading an object in account B needs an identity-policy allow for s3:GetObject and an appropriate bucket-policy allow in B. A bucket-policy allow alone does not supply the external role's identity-side permission.
Cross-account role assumption uses the same two-sided principle for a different request: the caller needs permission for sts:AssumeRole on the target role, and the target role's trust policy must trust the caller. Permission to assume a role and permission to use resources afterward are separate decisions.