Open Obiwarn opened 8 years ago
Admin router seems to wait on "adminUsers" publication. But this seems to pub all users, right? Why is that?
lib/server/publish.coffee:
Meteor.publish 'adminUsers', -> if Roles.userIsInRole @userId, ['admin'] Meteor.users.find() else @ready()
Admin router seems to wait on "adminUsers" publication. But this seems to pub all users, right? Why is that?
lib/server/publish.coffee: