title: sailsjs global context for a requests
body: <p>Is there a way such that I could infer a context for a given request?</p>
  
  <p>For example, when an request goes into my controller, that controller will invoke a bunch of different stuff.</p>
  
  <p>For almost all requests, it is guaranteed that there is a currentUserId and a currentUserDoc from mongodb.</p>
  
  <p>Is it possible for me, to not have to pass those information all over the place. And instead, keep them in some kind of context object in sails? So that I can simply read that context object to infer what the currentUserId or currentUserDoc is.</p>
  
  <p>Is there a feature like this that is possible with sailsjs?</p>
  
  <p>Thanks</p>