reactioncommerce / meteor-security

A Meteor package: Logical MongoDB security

Home Page:https://atmospherejs.com/ongoworks/security

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

MichaelJCole opened this issue · comments

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

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

See #31 for a PR

commented

@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.