Open davidalekna opened 7 years ago
Hello, thanks for great package! I have this situation where I need to access this.userId while declaring bucket, but bucket accepts strings only. Any suggestions how could I access user?
I'm seeking for the following behaviour.
Slingshot.createDirective('directive', Slingshot.GoogleCloud, { bucket: () => Meteor.users.findOne(this.userId).companyId; acl: "public-read", authorize: () => {}, key: (file, metaContext) => {} );
Thanks!
Hello, thanks for great package! I have this situation where I need to access this.userId while declaring bucket, but bucket accepts strings only. Any suggestions how could I access user?
I'm seeking for the following behaviour.
Thanks!