Bug #26835
open
see
int grants_num = req_grant_map.size();
if (grants_num > max_num) {
ldpp_dout(this, 4) << "An acl can have up to " << max_num
<< " grants, request acl grants num: " << grants_num << dendl;
op_ret = -ERR_MALFORMED_ACL_ERROR;
s->err.message = "The request is rejected, because the acl grants number you requested is larger than the maximum "
+ std::to_string(max_num)
+ " grants allowed in an acl.";
return;
}
- Subject changed from RGW returns MalformedACLError when user create too many ACL. S3 returns LimitExceeded indeed. to RGW returns MalformedACLError when user create too many ACL.
should we return LimitExceeded here?
Returning LimitExceeded does sound reasonable here. Would you care to open a pull request and link it here?
- Status changed from In Progress to 7
- Status changed from 7 to Fix Under Review
Also available in: Atom
PDF