How to restrict function calls to only governance process

Sadly, I was also thinking the same thing but I don't want all of my contracts to be a governance contract: How to use onlyGovernance modifier? - #3 by ernestognw