What does an IP right entitle a person with?

1. Right to file a suit in case of infringement.
2. Right of excludability.
3. Both are correct