In exercising its powers, the city commission may, in conformity with the provisions of this chapter, reverse or affirm, wholly or partly, or may modify the order, requirements,. decisions or determination, and to that end shall have all the powers of the officer from whom the appeal is taken and may issue or direct the issuance of a permit.