Middleware is it.
Roles
Before I start trying to use any outside packages, I'm reading that middleware could be used for validating user roles? Is this is the preferred method moving forward with 5.1 or is there something else I should investigate. I'm really looking for things that are compatible with the changes introduced in 5.1
Thanks
Third party permissions and roles packages use middleware. They just offer features that would take you a little work to do yourself. There isn't anything "special" about them so to speak. They still use the same technology that you're using. Just that they have written the code and you haven't. ;)
Please or to participate in this conversation.