People also have the right to remain. It is not clear that a majority wants to secede, the percentages are close to 50% though. So want happens with the rest of the people. Besides the independent Catalunya movement does not apply that freedom to its regions and considers Catalunya indivisible (For instance they deny the right of Tarragona to secede an hypothetical Catalunya state https://youtu.be/3eS-j9Wx8lw?t=999).
If an identifiable geographic region wants to secede, and there is sufficient support among the public, it should be able to do so. Crimea I think falls into that group: 93% voting in favor of joining Russia with 83% turnout.
I think there needs to be more than just a geographic region. A people have a right to self-determination. I'm not sure if any group of persons should. You need to look at history, ethnicity, language, culture, etc.