Whenever a power is granted to, or a duty imposed on any person or board by any provision of this code, it may be exercised or performed by any deputy or person authorized by the person or board to whom the power is granted or on whom the duty is imposed, unless it is expressly provided that the power or duty shall be exercised or performed only by the person or board to whom the power is granted or on whom the duty is imposed.