Section 8. An appeal to the permit granting authority as the zoning ordinance or by-law may provide, may be taken by any person aggrieved by reason of his inability to obtain a permit or enforcement action from any administrative officer under the provisions of this chapter, by the regional planning agency in whose area the city or town is situated, or by any person including an officer or board of the city or town, or of an abutting city or town aggrieved by an order or decision of the inspector of buildings, or other administrative official, in violation of any provision of this chapter or any ordinance or by-law adopted thereunder.