A magnificent cause can overcome a prickly personality, but your ability to enchant people increases if they like you, so you should aspire to both. You'll know that you're likeable when you can communicate freely, casually, and comfortably with people.
Enchantment: The Art of Changing Hearts, Minds, and Actions (ed. Penguin, 2011) - ISBN: 9781101475997