as shown in the figure, my Role controller inherits the Common controller
I perform permission verification in the initialization constructor in the Common controller. When asked to access Role/index directly in the browser, the verification is successful, but when I access Role/index with ajax, I do not perform validation, I directly execute the index method!
Why is this?