A simple way to allow access to routes based on user permissions.