I feel like there is a word for someone who is defiant of the rules, who has no regard for authority, but in a way that makes this seem like a good trait, not a bad one.
For example: when somebody has no problem stating that his boss is wrong. Or that is OK with not following a rule he which he finds is a bad rule.
Something you could say about your everyday heroic rebel.
What could this word be?
P.S. If anyone has read "Harry Potter and The Methods of Rationality" fanfic, the Harry Potter in that story has this trait I am looking for.