Building permit and risk insurance