Skip to content

Instantly share code, notes, and snippets.

@gschueler
Created September 24, 2013 20:56
Show Gist options
  • Save gschueler/6691116 to your computer and use it in GitHub Desktop.
Save gschueler/6691116 to your computer and use it in GitHub Desktop.
template aclpolicy file
description: Project scope for group
context:
project: '.*'
for:
job:
- equals:
group: 'example'
name: 'Restart'
allow: [run,read]
- equals:
group: 'example'
name: 'stop'
allow: [run,read]
- equals:
group: 'example'
name: 'start'
allow: [run,read]
adhoc:
- allow: [run,read]
node:
- contains:
tags: 'example'
allow: [run,read]
by:
group: [group_name]
---
description: Limited user access for group.
context:
application: 'rundeck'
for:
resource:
- equals:
kind: system
allow: [read] # allow read of system info
project:
- match:
name: '.*'
allow: [read] # allow view of all projects
by:
group: [group_name]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment