Legal and positive rights are the kind of rights that are created by humans inorder to creat the highest level of happuiness within sociaty, and are rights which can be created alongside typical human morality, but only when neccersary. For example, someone who follows this view may accept the killing of criminal who have killed themselves, as they focus on the consequences of actions, typically a view followed by utilitarians.
An alternative view of rights would be natural rights. someone who follows a natural view on rights would intertwine common human morality with the law, and so would not support the killing, as this action in itself is innately wrong as it takes away someone else natural rights. One kind of person that would ascribe to this view would be deontologists, and believe that everyone is entitled to the basic of human rights, as they are universal and obsolete. Insted of focusing on consiquences of an act, deontologists focus on the act itself, and wether or not it would be moraly correct, excluding all external factors. They also ascribe to the idea that these natrural rights are inalianable, which means they cannot be taken away or invalidated (either by race, gender, class, sexuality, age, previouse actions or any other factor). This also is the case if, for example, you where locked within a room. You would still have the right to freedom, even if someone was currently impeiding on this, it would just be an injustice. Believed to come from our human nature (Gewiths) or G od given (or perhaps just being self evident!).