No one has a right to keep living somewhere if they are being priced out. The only exception I can think of are unconscionable rent increases and that's largely beside the point.
Just because the previous population can no longer afford to live in SF or many parts of the Bay does not mean we have a problem or someone's rights are being violated.