Unauthorized access when using policies and authorizeResource helper
In order to protect the resourceful controller, Laravel provides a helper function (authorizeResource) that can be placed in the constructor. However, although I was authenticated, I kept hitting a 403 unauthorized error when attempting to show or edit a post.…