Project

General

Profile

Bug #7271

container create via swift doesn't register ACL

Added by Olivier Bonvalet about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/30/2014
Due date:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

Hi,

when creating a container thanks the Swift API (PUT /{version}/{account}/{container}), X-Container-Read seems to be ignored and ACL are not applied. We need to do a "container update" (POST /{version}/{account}/{container}) to see ACL applied.

Tried on a 0.72.2 version of radosgw, with :

    PUT /swift/v1/test HTTP/1.1
    X-Container-Read: .r:*

Associated revisions

Revision bf38bfb2 (diff)
Added by Yehuda Sadeh about 3 years ago

rgw: set bucket permissions, cors on swift creation

Fixes: #7271
Swift bucket creation was ignoring the x-container-read,
x-container-write and the various cors related headers. Now going
through the same logic that bucket modify goes.

Signed-off-by: Yehuda Sadeh <>

History

#1 Updated by Ian Colle about 3 years ago

  • Assignee set to Yehuda Sadeh

#2 Updated by Yehuda Sadeh about 3 years ago

  • Status changed from New to In Progress

#3 Updated by Yehuda Sadeh about 3 years ago

  • Status changed from In Progress to Testing

#4 Updated by Yehuda Sadeh about 3 years ago

  • Status changed from Testing to Need Review
  • Assignee changed from Yehuda Sadeh to Josh Durgin

#5 Updated by Josh Durgin about 3 years ago

  • Status changed from Need Review to Resolved
  • Assignee changed from Josh Durgin to Yehuda Sadeh

This was merged a while ago as commit:bf38bfb2e6511217eaa720811af826fe5498a461

Also available in: Atom PDF