Bug Allowing banned users to perform specific actions is more complicated than it needs to be

There is a bug in this version
K

Kirby

Guest
Allowing banned users to perform certain actions (like using the contact form) requires overriding assertNotBanned.

But, unlike most other assert* methods, this method does not get passed the action.

So in order to only allow specific actions, this also requires some kinda ugly workaround like also overriding preDispatchType.

Could this be changed (for 2.3.0+?) so assertNotBanned and assertIpNotBanned both do get the action as well?

Continue reading...