Policies hook for the Sails framework.