Added permission checking to delete.