Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add _req_user to removed item so you can use this in the remove pre/p…
…ost hook As discussed in keystonejs/keystone#1857 the remove pre/post hooks are "missing" the _req_user. I, amongst others, am using this object to handle some permissions. It's available in the updateHandler (in `create` and `update`) but missing in `remove`. it's added on the updateHandler here: https://github.com/keystonejs/keystone/blob/d34f45662eb359e2cb18b397f2ffea21f9883141/lib/list/updateItem.js#L157 Remove doesn't use the updateHandler, so this is missing.
- Loading branch information