No personal action shall be maintained in any court of this state against any member or officer of the city for any tort or action done, or attempted to be done, when done by the authority of the city or in execution of its orders under this chapter. (Prior code § 25-1-7)