Add prevention for unpublished entity operations.