My academic research supervisor is asking me to write a patent that he is self-funding, with potential private commercial interests and benefits. I am also directly involved in the work that is related to this patent. However, this work was funded by my supervisor's research grants from our country.
Upon me questioning his motives, he told me that researchers have a right to the intellectual property of projects funded by the government. Is such a claim regarding patents and/or intellectual property generally considered as ethical in academia?