It is settled that natural justice is guaranteed under Article 14 of the Indian constitution. However article 14 explicitly mentions that "The State shall not deny to any person ...". Thus if a person is subject to arbitrary discrimination on grounds of religion or has been denied natural justice, he/she may not be able to invoke article 32 to seek remedy unless the violator is 'State' within the meaning of article 12. However the jurisdiction of High courts under article 226 is much wider and includes any society/corporation which is performing 'public function' even if it is not controlled by the state. To rephrase, the test for determining amenability under article 226 is the 'function test' which is much wider than the more restrictive 'control test' for article 32.
Now my question is
Suppose a person has been discriminated on grounds of religion or has been denied natural justice by an authority/society which is amenable to writ jurisdiction under article 226, but not under 32, then what is the analog of article 14 which shall be invoked in a writ petition under article 226 ?
My understanding is that even though the body is amenable to writ jurisdiction under 226, it could argue that article 14 does not place any obligation on it to not discriminate on the grounds of religion or to follow the principles of natural justice since it is not State.
Which public remedy is available to a citizen in such a situation ?