PermissionRequiredMixin updated to allow fine control over permissions checks
Post edit functionality added