Pre
keystone.pre(actionName:String, desiredAction:Function)
Pre can be used to add some of the global middleware that keystone can add. Most specifically, any with the pre
prefix. For more information about adding middleware, see the middleware documentation.