swift/etc
Clay Gerrard f9bed74d1b Return 403 on unauthorized upload when over account quota
If you try an unauthorized upload into a container that is over quota you get
a 403 instead of a 413, but if you try to unauthorized upload when an
*account* is over quota you can see the 413 even though the upload would have
been rejected by the authorize callback.  By wrapping the authorize callback
associated with the incoming request we can make sure to only return our 413
when the request would have been authorized otherwise.

Drive by doc fixes thanks to acoles:

 * State that container_quotas should be after auth middleware in
   the class doc string.
 * Add note to proxy-server.conf.sample that account_quotas should
   be after auth middleware.

The equivalent statements are already in place for each quota
middleware.

Doc-Impact

Closes-Bug: #1387415
Change-Id: I2a88b3ec79d35bfdd73ea6ad64e376b7c7af4ea6
2014-10-30 14:03:56 -07:00
..
account-server.conf-sample Fixes several typos (Swift) 2014-09-18 21:18:50 -07:00
container-reconciler.conf-sample Swift configuration parameter audit 2014-08-06 11:12:14 +10:00
container-server.conf-sample Fixes several typos (Swift) 2014-09-18 21:18:50 -07:00
container-sync-realms.conf-sample New container sync configuration option 2014-01-10 23:48:00 +00:00
dispersion.conf-sample Swift configuration parameter audit 2014-08-06 11:12:14 +10:00
drive-audit.conf-sample Add new features to swift-drive-audit 2014-09-25 16:27:25 +01:00
memcache.conf-sample Fix for memcache middleware configuration 2013-11-26 18:03:33 +00:00
mime.types-sample PEP 8 compliance and small modification to mime.types file 2010-11-23 19:26:02 -06:00
object-expirer.conf-sample Merge "Swift configuration parameter audit" 2014-08-06 16:18:02 +00:00
object-server.conf-sample Zero-copy object-server GET responses with splice() 2014-09-18 16:02:47 -07:00
proxy-server.conf-sample Return 403 on unauthorized upload when over account quota 2014-10-30 14:03:56 -07:00
rsyncd.conf-sample Added missing lockfile configuration to sample rsync.conf 2011-02-12 18:27:59 -08:00
swift-rsyslog.conf-sample Add sample rsyslog.conf. 2013-06-25 10:24:26 +08:00
swift.conf-sample Add Storage Policy Support 2014-06-18 17:31:37 -07:00