HOA aren’t governmental organizations, they are contractual organizations which makes it more complicated than something like a municipal government. They are private entities more akin to a nonprofit corporations than a government. It will really depend on the language of the law. If it actually guarantees the right to grow a garden then it should override HOA rules, if it just restricts lower levels of government from banning gardens then it is unlikely to affect HOA rules.
HOA aren’t governmental organizations, they are contractual organizations which makes it more complicated than something like a municipal government. They are private entities more akin to a nonprofit corporations than a government. It will really depend on the language of the law. If it actually guarantees the right to grow a garden then it should override HOA rules, if it just restricts lower levels of government from banning gardens then it is unlikely to affect HOA rules.