Iran recognizes three minority religions. Judaism is one, Christianity is the second, and Zoroastrianism is the third. These are officially recognized religions in the Iranian constitution, and each of these religious communities has a specific member of the Iranian Majlis to represent it.
The Jewish population of Iran is the largest in the Middle East outside of Israel. The community is allowed to function. It is allowed to carry out its religious services. Its members are allowed to hold jobs in the community in ways that the Bahá'ís, for instance, are not.
That being said, they are a minority in a population that does not always treat its minorities well. There have been incidents in the past when the Jewish community has faced a number of charges and arrests for allegedly spying for Israel. Some of its members have been put in jail for that. This happened, I believe, in the early part of this millennium.
So the community faces challenges. It has some problems, but its status is official and recognized by the government in a way that the Bahá'í community is not.