Spanish law says that you need to ask for the permit of the comunity first, before to put the windows.
If the comunity do not allow to put them, you could do anything to force the comunity.
If you need help about duobst of spanish law I could help you
Ths spanish law you need it is Ley de división de propiedad horizontal
Here you can get it translated into english