Skip to content

Instantly share code, notes, and snippets.

@noahcampbell
Created February 16, 2011 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noahcampbell/830130 to your computer and use it in GitHub Desktop.
Save noahcampbell/830130 to your computer and use it in GitHub Desktop.
Example ACLPolicy in Yaml
description: Yaml Policy 1
id: a4c072fd-1d02-4341-96a7-51038dc5b557
rules:
^$:
actions: 'foobar'
/yml:
actions: 'exact_match'
/yml.*:
actions: pattern_match
/listAction/.*:
actions: [action_list_1,action_list_2]
/run/scripts:
actions: POST
by:
username: 'yml_usr_1'
group: 'yml_group_1'
---
description: Yaml Policy 2
id: F76EACCC-1DFC-447B-9E72-CC06905A2924
/noactions/.*:
foobar: dingbat
by:
username: 'yml_usr_2'
group: 'broken'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment