Peace be upon you. According to Grand Ayatollah Sayyid Sistani (may Allah protect him), it is required for a virgin girl to have the consent of her father or paternal grandfather if she is not independent in her affairs and does not have control over her own matters. It is strongly recommended to obtain the permission of one of them if she is independent in her affairs.
According to Grand Ayatollah Sayyid Khamenei (may Allah protect him), it is obligatory to seek permission from her father or paternal grandfather, and the marriage contract is not valid without the consent of one of them.
Grand Ayatollah Sheikh Wahid Khorasani (may Allah protect him) states that the permission of the guardian, which is the father or paternal grandfather, is required for marrying a virgin.
Grand Ayatollah Sayyid Zanjani (may Allah protect him) asserts that a virgin's marriage without the permission of her father or grandfather is invalid.
Grand Ayatollah Sheikh Ishaq Fayyad (may Allah protect him) mentions that a temporary marriage contract with a virgin is not permissible without the consent of her father or paternal grandfather, even if there is no intention of consummation. It is advisable to consult a more knowledgeable scholar on this matter.
Grand Ayatollah Sheikh Naser Makarem Shirazi (may Allah protect him) emphasizes that a virgin must seek permission from her father or paternal grandfather for both permanent and temporary marriages, with the only exception being if they prevent her from marrying a suitable partner.
May you be successful in all good deeds.