summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPieter van de Bruggen <pieter@puppetlabs.com>2011-05-04 16:45:50 -0700
committerPieter van de Bruggen <pieter@puppetlabs.com>2011-05-04 16:45:50 -0700
commit8d792a06399c4399c16a3add752e2f48f27f5c04 (patch)
treee68c82fbdb69f601e2ce5d5f034c19a1f7b6bd8b /lib
parentd950921e0dffe3c2f5315e63d86881986d7e4041 (diff)
parent5076c3794dcbfd708d9169d720b8fc5a41998a14 (diff)
downloadpuppet-8d792a06399c4399c16a3add752e2f48f27f5c04.tar.gz
puppet-8d792a06399c4399c16a3add752e2f48f27f5c04.tar.xz
puppet-8d792a06399c4399c16a3add752e2f48f27f5c04.zip
Merge branch 'tickets/2.7.x/7179' into 2.7.x
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/network/rest_authconfig.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/network/rest_authconfig.rb b/lib/puppet/network/rest_authconfig.rb
index cf76978fe..dfe8f85c4 100644
--- a/lib/puppet/network/rest_authconfig.rb
+++ b/lib/puppet/network/rest_authconfig.rb
@@ -8,6 +8,7 @@ module Puppet
DEFAULT_ACL = [
{ :acl => "~ ^\/catalog\/([^\/]+)$", :method => :find, :allow => '$1', :authenticated => true },
+ { :acl => "~ ^\/node\/([^\/]+)$", :method => :find, :allow => '$1', :authenticated => true },
# this one will allow all file access, and thus delegate
# to fileserver.conf
{ :acl => "/file" },