A corporation may provide indemnification or advance expenses to a director or an officer only as permitted by this part.