A right to object is a right for a person or organization to object to an action that they feel is unlawful, immoral, or otherwise wrong.
A right to object is usually recognized by law and codified in constitutions and statutes. It may be both a legal right and an ethical obligation. The right to object can be used as a device to prevent injustice, such as when one opposes discrimination. In some cases, the right to object can be used by those who are not directly affected by an action but who find it morally reprehensible.
The right to object differs from other human rights in that it only applies under specific circumstances. For example, someone who has been discriminated against based on their race or gender might have a legal claim for damages but no moral claim; however, if they were unjustly fired from their job because of their race or gender then they would have both a legal and moral claim against their employer.
This does not mean that all acts of opposition should be accepted as legitimate. Rather, it means that we should consider each case on its merits rather than judging it on its surface characteristics (such as whether or not it involves violence).