I’m new to Meteor and really amazed about how fast you can develop software with it!
And now I’ve reached a point, where I really can’t find a solution.
What I want to do, is to separate my app in let’s say 3 different parts based on the user authorization. So let’s say there is a public, an user, and an admin part.
The default Meteor behaviour would be to send all the templates, js, css, etc. to everyone. Maybe I’m a little bit paranoid but this seems to me like a big security flaw, because I don’t want that for example every visitor or default user can see what the admin can do.
So my question is, if it is possible to send the templates, js, etc. files in a lazy-loading manner based on the authentication/authorization so that everyone only gets the files one really needs.
Thanks in advance!