Since the enactment of the Constitution of the Republic of Ecuador in 2008, there has been a shift to a model of a state that guarantees rights. In this sense, the judicial system was transformed into a constitutional state of rights and justice, and from then on, all judges became constitutional judges regardless of the subject matter they dealt with, thus guaranteeing the rights established in the constitution and international treaties, one of these principles being that of legality.
Administrative law is closely linked to constitutional law, since the actions of public officials are limited to the provisions of their special laws, but mainly to the rights established in the constitution. In this sense, public officials cannot perform acts contrary to it, and any act outside of this scope would be null and void.
What is legality control?
Although legality control should be applied to all matters, the General Organic Code of Procedures only explicitly recognizes the Administrative and Tax Court as having this power, which allows the court to verify all the actions of public officials within an administrative sanctioning process and verify whether the actions taken are within the law; even if the citizen or public institution has failed to mention any violation of rights, thus allowing the court to analyze the administrative process comprehensively and not strictly in accordance with the claims of the plaintiff or defendant.
In this sense, the Administrative and Tax Court can recognize the rights of the citizen or the public administration even if they have not been mentioned in the complaint or response, based on the power that allows it to analyze the general context in which the administrative process took place and thus guarantee the rights of the citizen or public institution in a comprehensive manner.

