Hello,
Updating my pc to win 11 destroyed my meteor installation (meteor 1.8.1).
With installing the latest meteor 2.7.3 most of my App modules are working except roles.
If I remove the Line isInRole its working. The App itself is 5 years old. Something changed in the meantime ?
<body>
{{#if currentUser}}
{{#if isInRole 'admin'}}
{{> topNav}}
{{> overView}}
{{> adminLayout}}
{{/if}}
This is how the role is stored:
{
"_id" : "ts7ZAbXmujp7KcyLd",
"createdAt" : ISODate("2022-10-07T23:22:14.972Z"),
"services" : {
"password" : {
"bcrypt" : "$2b$10$CUiqixzLUYsMfMutaKMMMOo1gwiz3armZ2WTpcfKYqII0txJIipAu"
},
"resume" : {
"loginTokens" : [{
"when" : ISODate("2022-10-07T23:22:14.976Z"),
"hashedToken" : "Z4tqxws+3FWdK3flHKSBbrmijggp3iha2tbnp14jh1g="
}]
}
},
"username" : "test-user",
"role" : ["admin"]
}
Thanks