MCPcopy
hub / github.com/scality/cloudserver / _isAclProvided

Function _isAclProvided

lib/api/bucketPut.js:164–166  ·  view source on GitHub ↗
(headers)

Source from the content-addressed store, hash-verified

162}
163
164function _isAclProvided(headers) {
165 return aclUtils.getHeaders().some(h => Object.keys(headers).includes(h));
166}
167
168function authBucketPut(authParams, bucketName, locationConstraint, request, authInfo) {
169 const ip = requestUtils.getClientIp(request, config);

Callers 1

authBucketPutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected