In Islam, you do not have the right to donate your organs or parts after your death, because it requires cutting the body, which is according to Islam is respected part.
Yes, it is permissible to donate the organs on which the life of another Muslim depends, such as the heart and liver, not such as the eyes, hand or foot.