Welcome Guest, Not a member yet? Register   Sign In
Filter run order
#3

(This post was last modified: 09-06-2020, 02:22 AM by Gary.)

I take it that your permission filter runs on every call... surely if you simply remove the filter option and use: $routes->get('admin', 'Admin::index'); it would work in the desired manner?

If it's not, then you could stop the permissions filter from where it's not wanted using:
'permission' => ['except' => ['Index/*',... in your Filter's $globals variable.
Reply


Messages In This Thread
Filter run order - by ogomez - 09-02-2020, 06:17 PM
RE: Filter run order - by chenzen - 09-03-2020, 02:59 AM
RE: Filter run order - by Gary - 09-06-2020, 02:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB