Closed jroque-seertech closed 4 years ago
I need to re login for the updated roles to take effect. Is there a way to make in reactive ??
here's my code in publications.js Meteor.publish(null, function (){ return Meteor.roles.find({}) });
Meteor.publish(null, function (){ return Meteor.roles.find({}) });
and my code in template {{#if isInRole 'view' 'badge_role'}}
{{#if isInRole 'view' 'badge_role'}}
This looks like it should work. So a reproduction is needed to demonstrate why it does not for you.
I need to re login for the updated roles to take effect. Is there a way to make in reactive ??
here's my code in publications.js
Meteor.publish(null, function (){ return Meteor.roles.find({}) });
and my code in template
{{#if isInRole 'view' 'badge_role'}}