nicolaslopezj / roles

The most advanced roles package for meteor
MIT License
87 stars 13 forks source link

Uploading files issue #21

Closed nisdis closed 8 years ago

nisdis commented 8 years ago

Hi Nicolas,

I'm working with orionjs with the microscope boilerplate, after upgrading to meteor 1.3.3 I am unable to upload files unless admin, here is the error:

Uncaught Error: The user has no permission to perform this action [unauthorized] - roles.js:292

I have configured 2 users: user and admin. It was working well before the upgrade What can I do to solve this. Any help is appreciated.

Thanks.

nicolaslopezj commented 8 years ago

Hi,

You should give the role permission to the action filesystem.upload See https://github.com/orionjs/orion/blob/master/packages/filesystem/filesystem.js#L1.

nisdis commented 8 years ago

Thank you, Nicolas.