# File lib/puppet/network/rest_authconfig.rb, line 30
30:         def allowed?(request)
31:             read()
32: 
33:             # we're splitting the request in part because
34:             # fail_on_deny could as well be called in the XMLRPC context
35:             # with a ClientRequest.
36:             @rights.fail_on_deny(build_uri(request),
37:                                     :node => request.node,
38:                                     :ip => request.ip,
39:                                     :method => request.method,
40:                                     :environment => request.environment,
41:                                     :authenticated => request.authenticated)
42:         end