These are chat archives for reactioncommerce/reaction

Aug 2015
Spencer Norman
Aug 05 2015 19:11
Stylish new pic @aaronjudd
Aaron Judd
Aug 05 2015 19:15
@spencern thanks! time for the once a decade update! lol
Spencer Norman
Aug 05 2015 22:05

Where’s a good example of registering a new permission type?

e.g. something that this can work with.

unless ReactionCore.hasPermission(‘createProductEvent’)
So: Roles.addUsersToRoles(Meteor.userId(), 'createProductEvent', ReactionCore.getShopId())
Spencer Norman
Aug 05 2015 23:00
Perfect. Didn’t realize that roles were automatically created. Thanks!
:+1: for the example. I probably would have neglected the shopId