# File lib/puppet/indirector/file_server.rb, line 15 15: def authorized?(request) 16: return false unless [:find, :search].include?(request.method) 17: 18: mount, file_path = configuration.split_path(request) 19: 20: # If we're not serving this mount, then access is denied. 21: return false unless mount 22: return mount.allowed?(request.node, request.ip) 23: end