]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: partially respect Swift's negative, HTTP referer-based ACLs.
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Wed, 5 Apr 2017 12:57:06 +0000 (14:57 +0200)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Wed, 5 Apr 2017 19:30:12 +0000 (21:30 +0200)
commit11d4370eaf70bd48e582f658aae0f2120d04adf2
treec93641fb0aaa725ae762a3f1dc3e1b9565c8715f
parent39349a4fe9bc7dfb5488c39d6bc43c35e995fc31
rgw: partially respect Swift's negative, HTTP referer-based ACLs.

For the sake of simplicity this patch doesn't handle the case of
having multiple ".r:*" in a single ACL like:

  .r:*,.r:-.example.com,.r:*

The global wildcard (.r:*) is handled specifically because of S3.
Next patch will brings full support.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/rgw/rgw_acl.cc
src/rgw/rgw_acl.h