diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2009-03-30 20:24:53 +0200 |
---|---|---|
committer | Brice Figureau <brice-puppet@daysofwonder.com> | 2009-04-23 20:52:03 +0200 |
commit | aac996ed17e0ec72c5098b1225eb159aae4901fc (patch) | |
tree | 7cd8ae0baaad9a486581d6ec67f6d63a2fb5bfa6 /conf | |
parent | 72e28aeccc36092e7edf9dc25e44acdb08fa5e79 (diff) | |
download | puppet-aac996ed17e0ec72c5098b1225eb159aae4901fc.tar.gz puppet-aac996ed17e0ec72c5098b1225eb159aae4901fc.tar.xz puppet-aac996ed17e0ec72c5098b1225eb159aae4901fc.zip |
Add environment support in the REST authorization layer
With the help of the new auth.conf directive 'environment',
any ACL can now be restricted to a specific environment.
Omission of the directive means that the ACL will apply
to all the defined environment.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/auth.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/auth.conf b/conf/auth.conf index 1c037901d..784acc980 100644 --- a/conf/auth.conf +++ b/conf/auth.conf @@ -9,6 +9,7 @@ # Path syntax (the one used below): # --------------------------------- # path /path/to/resource +# [environment envlist] # [method methodlist] # allow [host|ip|*] # deny [host|ip] @@ -21,6 +22,7 @@ # This one is differenciated from the path one by a '~' # # path ~ regex +# [environment envlist] # [method methodlist] # allow [host|ip|*] # deny [host|ip] |