-
Notifications
You must be signed in to change notification settings - Fork 639
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
the acl does not work. When I display the myFile, It does not object reference to myFile.acl.add
var myFile = bucket.file(filename);
console.log(myFile);
myFile.acl.update({
scope: 'allUsers',
permission: storage.acl.READER_ROLE
}, function(err, aclObject) {
console.log('**** error ****');
console.log(err);
console.log(aclObject);
});Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.