The Role of Local Governments in Granting Building Permits