Fix permission checking when updating records
Less losing the project parameter please