diff options
Diffstat (limited to 'src/rgw/rgw_rest_bucket_logging.h')
-rw-r--r-- | src/rgw/rgw_rest_bucket_logging.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/rgw/rgw_rest_bucket_logging.h b/src/rgw/rgw_rest_bucket_logging.h new file mode 100644 index 00000000000..0b31d88dad8 --- /dev/null +++ b/src/rgw/rgw_rest_bucket_logging.h @@ -0,0 +1,19 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab +#pragma once + +#include "rgw_rest_s3.h" + +// s3 compliant bucket logging handler factory +class RGWHandler_REST_BucketLogging_S3 : public RGWHandler_REST_S3 { +protected: + int init_permissions(RGWOp* op, optional_yield y) override {return 0;} + int read_permissions(RGWOp* op, optional_yield y) override {return 0;} + bool supports_quota() override {return false;} +public: + virtual ~RGWHandler_REST_BucketLogging_S3() = default; + static RGWOp* create_get_op(); + static RGWOp* create_put_op(); + static RGWOp* create_post_op(); +}; + |