Meteor-Community-Packages / meteor-roles

Authorization package for Meteor, compatible with built-in accounts packages
http://meteor-community-packages.github.io/meteor-roles/
MIT License
921 stars 166 forks source link

Roles not updating reactively #261

Closed jroque-seertech closed 4 years ago

jroque-seertech commented 6 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({}) });

and my code in template {{#if isInRole 'view' 'badge_role'}}

mitar commented 4 years ago

This looks like it should work. So a reproduction is needed to demonstrate why it does not for you.