the light of the provisions of the Act and the rules governing co-operative societies. In so testing, the search should be to see whether a particular bye-law violates the mandate of any of the provisions of the Act or runs counter to any of its provisions or to any of the rules. Section 24(1) of the Act only provides for open membership subject to a person, aspiring to be a member, possessing the qualification prescribed by the bye-laws. It is not an open membership dehors the qualification prescribed by the bye-laws. When in Daman Singh this Court held that when a co-operative society is governed by the appropriate legislation it will be subject to the intervention made by the concerned legislation, it only meant that a legislative provision in the Act can be introduced for the purpose of eliminating a qualification for membership based on sex, religion or a persuasion or mode of life. But so long as there is no legislative intervention of that nature, it is not open to the court to coin a theory that a particular bye-law is not desirable and would be opposed to public policy as indicated by the Constitution. The Constitution no doubt provides that in any State action there shall be no discrimination based either on religion or on sex. But Part III of the Constitution has not interfered with the right of a citizen to enter into a contract for his own benefit and at the same time incurring a certain liability arising out of the contract. As observed by the High Court of Bombay in Karvanagar Sahakari Griha Rachana Sanstha Maryadit and others vs. State (AIR 1989 Bombay 392) the members have joined the society in accordance with the bye-laws and the members join a housing society by ascertaining what would be the environment in which they will reside. It is not permissible for the State Government to compel the society to amend its bye-laws as it would defeat the object of formation of the society. In that case, the society was constituted with the object of providing peaceful accommodation to its members. Though there may be circumstances justifying the State taking steps to meet shortage of accommodation, it was not open to the State Government to issue a direction to the Registrar of Co-operative Societies to direct a co- operative society to make requisite amendments to their bye-laws and grant permission to its members to raise multistoried constructions. In appeal from that decision reported as State of Maharashtra and others vs. Karvanagar Sahakari Griya Rachana Sanstha Maryadit and others (2000 (9) SCC 295) this Court while dismissing the appeal stated that it was clear that though a power was conferred on the Registrar to direct amendment of the bye-laws of a society, yet the paramount consideration is the interest of the society. So also, the power of the State Government to issue directions in public interest, could not be exercised so as to be prejudicial to the interest of the society. In the view of this Court, what was in the interest of the society was primarily for the society alone to decide and it was not for an outside agency to say. Where, however, the government or the Registrar exercised statutory powers to issue directions to amend the bye-laws, such directions should satisfy the requirement of the interest of the society. This makes it clear that the interest of the society is paramount and that interest would prevail so long as there is nothing in the Act or the Rules prohibiting the promotion of such interest. Going by Chheoki Employees' Cooperative Society Ltd.,'s case, neither the member, respondent No.2, nor the aspirant to membership, respondent No.3 had the competence to challenge the validity of the bye-laws of the Society or to claim a right to membership in the Society.