Disabling publish button if there are pending roles.