Bug 1041544

Summary: [RFE][swift]: Extend Container ACL Headers to Be Compatible with AWS S3 ACL
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/swift/+spec/extend-container-acl-headers
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 16:52:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 16:52:22 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/swift/+spec/extend-container-acl-headers.

Description:

Add new type of headers to container server:

    X-Container-ACL-Read:
        This permission allows user to only read list of objects
        in container.

    X-Container-ACL-Read-ACP:
        This permission allows user to get the  list of ACL headers
        from container, but not list objects in container.

    X-Container-ACL-Write:
        This permission allows user to change container metadata
        and upload objects to container.

    X-Container-ACL-Write-ACP:
        This permission allows user to change container ACL
        headers.

ACP: access control permission.

This changes will work with tempauth and keystone auth middlewares. Deployments that use X-Container-Read and X-Container-Write headers will work as before.

These changes will allow for more granularity and will make container's ACL to be compliant with S3:
http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingACLsandBucketPoliciesTogether.html


Please proceed to https://review.openstack.org/#/c/39844/ for code review.

Specification URL (additional information):

None