Made itemPermissionAction fetch the item as well as its permissions.
This saves making a syncronous request and simplifies some of the
other actions.