Iron Router Route Allow/Deny
问题 I'm writing a a meteor application right now, and am getting used to the new Iron Router package (as opposed to the router package that I used before). I have a collection of routes that should only be accessible by users with specific properties. To be specific, I'm using the Roles package. My way of achieving this at the moment is to define a before function that runs a conditional, and redirects to a login or error page if the user doesn't have the proper role. Here's just a quick