Well, the question you ask is really important but also very difficult to answer. Gentrification is mostly an economic process led by private actors, it can be governed by local authorities but their actions can be limited by private property rights. I think the public sector can do more with legislation and requesting more balance between private speculation and social impact, they can ask to dedicate a share of new accommodation to social housing. About the role of social and solidarity economy, please see my paper about a case study in the East London - Hackeny Borough - a very gentrified area. The paper shows results about how community organizations can do something to mitigate gentrification. Article Renewing the City through Public Participation and Cultural ...
Most gentrification occurs because of a lack of policies that value community input, offer equitable rezoning policies, and provide intentional housing options. Without policies that attempt to remedy the trends that cause forced displacement, gentrification will continue to dismantle and displace lower-income communities. To develop such policies, we must recognize the disproportionate and destructive effects of gentrification.