Return `Rgwx-Perm-Checked` header as a hint for the destination zone
to know whether the perms where considered or not.
This is just a backward compatibility for upgrade and can be dropped
in T+2 release.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
total_len = 0;
}
+ dump_header(s, "Rgwx-Perm-Checked", "true");
+
// check for GetObject(Version)Tagging permission to include tags in response
auto action = s->object->get_instance().empty() ? rgw::IAM::s3GetObjectTagging : rgw::IAM::s3GetObjectVersionTagging;
// since we are already under s->system_request, if the request is not impersonating,