Im currently struggling with implementation of "types permissions" middleware for Apollo (Which should just check based on token if the user has permission to see type