diff --git a/lib/storage/bucket.js b/lib/storage/bucket.js index 2607d17d7359..308c3f7286f1 100644 --- a/lib/storage/bucket.js +++ b/lib/storage/bucket.js @@ -516,8 +516,6 @@ Bucket.prototype.makePublic = function(options, callback) { * requests. Use with caution. * * @param {object=} options - The configuration object. - * @param {boolean} options.strict - Make the bucket private to only the owner - * user. Otherwise, it will be private to the project. * @param {boolean} options.includeFiles - Make each file in the bucket private. * Default: `false`. * @param {boolean} options.force - Queue errors occurred while making files @@ -571,7 +569,7 @@ Bucket.prototype.makePrivate = function(options, callback) { } var query = { - predefinedAcl: options.strict ? 'private' : 'projectPrivate' + predefinedAcl: 'projectPrivate' }; // You aren't allowed to set both predefinedAcl & acl properties on a bucket @@ -808,7 +806,7 @@ Bucket.prototype.makeAllFilesPublicPrivate_ = function(options, callback) { if (options.public) { file.makePublic(processedCallback); } else if (options.private) { - file.makePrivate({ strict: options.strict }, processedCallback); + file.makePrivate(processedCallback); } function processedCallback(err) {