reactioncommerce/meteor-security

TypeError: Object #<SecurityRuleConstructor> has no method 'ifHasRole'

MichaelJCole opened this issue · 3 comments

I was getting this error using Meteor's default role system.

TypeError: Object #<SecurityRuleConstructor> has no method 'ifHasRole'

See #31 for a PR

@MichaelJCole still valid?

Oh hey, no. I forgot to close this. Thanks!

I didn't understand from the docs that the reason helpers functions required the other module.

Autocorrect! Reason = role.