Abstract out delete permission check.