Skip to content

the acl add doesn't work #569

@khmereshop

Description

@khmereshop

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

Labels

api: storageIssues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions