Skip to content

Instantly share code, notes, and snippets.

@IssacTran
Forked from gschueler/aclpolicy-template.yaml
Created June 28, 2016 03:18
Show Gist options
  • Save IssacTran/3054ea3ed347ff7adb8a390e02f4f269 to your computer and use it in GitHub Desktop.
Save IssacTran/3054ea3ed347ff7adb8a390e02f4f269 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