A wall rating needs to be maintained. Openings in the walls need to maintain their ratings.
If you get rid of the door (and I'm already assuming it is not a required exit door, but merely an extra convenience door), you are taking away an opening that was already fire-rated by an independent testing lab. You replacing it with a site-built infill wall that does not come with a fire-rated label on it. You need to have enough code knowledge to build the correct type of infill wall assembly (studs, fire-rated gyp board of certain thickness, certain types and spacings of fasteners) to maintain the 2-hour rating. Ditto for the sound rating. With all that, it probably needs to be inspected by the city.
IF those aren't done correctly, then there is increased risk that a fire (or lots of noise) from the unit will impact the other users of the corridor.
Now, for the non-code answer:
For the condos that I know about most homeowner associations would not want some individual homeowner's contractor to patch a common area corridor. For example, if the existing wall paint has a texture and/or sheen, then the entire corridor wall might need to be repainted so it doesn't look like a patch job.
Between the code issues and the non-code issues, my guess is that it's easier for the manager / HOA to