title: Right way to check if user has role in meteor?
body: <p>I'm building a CMS and depending on the user <code>role</code> they will be able to edit/update/delete/create different areas but filtered by their <code>role</code> as in, one user with <code>role: 'basic role'</code> can't delete what the user with <code>role: 'superuser'</code> can.</p>
  
  <p>What I have at the moment is this:</p>
  
  <pre><code>Collection.allow({
    insert: function(userId, collection) {
      return Meteor.users.findOne({_id: userId, profile: {role: 'admin'}});
    },
    update: function(userId, collection, fields, modifier) {
      return Meteor.users.findOne({_id: userId, profile: {role: 'admin'}});
    },
    remove: function(userId, collection) {
      return Meteor.users.findOne({_id: userId, profile: {role: 'admin'}});
    }
  });
  </code></pre>
  
  <p><strong>QUESTION</strong>
  Is this the right way to validate users roles? Are there better ways? What are the best practices for this?</p>
  
  <p>Thanks!</p>