You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code reveals that I need to wait for Roles.subscription.ready(), additionally I wait for Accounts.loginServicesConfigured() so that my user is ready as well. Roles.subscription.ready() should be documented in the Client section, which currently only talks about Blaze and some general security advice.
I'm not using Blaze so I can't comment on the isInRole helper and if it's safe to use it immediately or if everyone just gets lucky because the rendering usually loses the race against the subscription I/O.
The text was updated successfully, but these errors were encountered:
The code reveals that I need to wait for
Roles.subscription.ready()
, additionally I wait forAccounts.loginServicesConfigured()
so that my user is ready as well.Roles.subscription.ready()
should be documented in the Client section, which currently only talks about Blaze and some general security advice.I'm not using Blaze so I can't comment on the
isInRole
helper and if it's safe to use it immediately or if everyone just gets lucky because the rendering usually loses the race against the subscription I/O.The text was updated successfully, but these errors were encountered: