Code changes - communication required?
We work in a small dev company with a handful of members. The company is run by one person who is happily into programming. From time to time he rewrites my code and changes details. He usually doesn't tell me. His changes to the UI components are reasonable but controversial. He releases the software in a style that suits his preferences, but sometimes his changes destroy my efforts to match his preferences. For backend components, I recently realised he changed my code in ways I don't understand. Undoing his changes wouldn't break the test cases except for some minor ones. At one point he mentioned that we are all equal and can easily adapt each other's code. But now I am getting more and more the idea that the "permission to change" is only one way. Honestly, I get quite angry and annoyed when someone changes MY OWN code - without any kind of communication. My boss sees it as everyone's property and there is no ownership at all. Just a side note: I observe the same qualities with other team members. But since we don't have an overlapping work the pattern is much less present. My question: Are there other people with the same problem? Any tips on how other teams deal with this? Do other teams have a 'superuser' for any kind of code changes?

We work in a small dev company with a handful of members. The company is run by one person who is happily into programming.
From time to time he rewrites my code and changes details. He usually doesn't tell me.
His changes to the UI components are reasonable but controversial. He releases the software in a style that suits his preferences, but sometimes his changes destroy my efforts to match his preferences.
For backend components, I recently realised he changed my code in ways I don't understand. Undoing his changes wouldn't break the test cases except for some minor ones.
At one point he mentioned that we are all equal and can easily adapt each other's code. But now I am getting more and more the idea that the "permission to change" is only one way.
Honestly, I get quite angry and annoyed when someone changes MY OWN code - without any kind of communication. My boss sees it as everyone's property and there is no ownership at all.
Just a side note: I observe the same qualities with other team members. But since we don't have an overlapping work the pattern is much less present.
My question: Are there other people with the same problem? Any tips on how other teams deal with this? Do other teams have a 'superuser' for any kind of code changes?