We don't need to read read object policy for a ListBucket operation
(RGWReaddir, RGWRMdirCheck, RGWStatLeaf).
Also, there are "virtual" directories that do not have a corresponding
object, read object policy on them results in ENOENT for RGWStatLeaf.
Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
op = this;
}
- bool only_bucket() override { return false; }
+ bool only_bucket() override { return true; }
int op_init() override {
// assign store, s, and dialect_handler
op = this;
}
- bool only_bucket() override { return false; }
+ bool only_bucket() override { return true; }
int op_init() override {
// assign store, s, and dialect_handler
op = this;
}
- bool only_bucket() override { return false; }
+ bool only_bucket() override { return true; }
int op_init() override {
// assign store, s, and dialect_handler