My meteor version has recently been upgraded from 2.16 to 3.1, and now the role checking function (Roles.userIsInRole) does not work in my front-end app.
I have done db migrations properly and tried both functions userIsInRole and userIsInRoleAsync, both are not working.
I am using Reactjs for my front-end app.
Code sample:
(Roles.userIsInRole(currentUserId, ['normal-user','group-admin'])