title: How to add context to a Sequelize hook?
body: <p>I want to use a hook to perform access control on a row so that users can only access rows they own. The hook would add an additional where clause to ensure that the user is the owner of the row (ex: WHERE ownerId=user.id).</p>
  
  <p>The problem is, how do I pass the user id to Sequelize so that the hook has it when the hook fires? I've looked through the documentation and it's not obvious to me if this is possible.</p>
  
  <p>Thanks</p>
  
  <p>reference: <a href="http://sequelize.readthedocs.org/en/latest/docs/hooks/" rel="nofollow">http://sequelize.readthedocs.org/en/latest/docs/hooks/</a></p>