Skip to content

Instantly share code, notes, and snippets.

@ahonor
Created July 8, 2013 16:39
Show Gist options
  • Save ahonor/5950398 to your computer and use it in GitHub Desktop.
Save ahonor/5950398 to your computer and use it in GitHub Desktop.
description: Acess for dev.
context:
project: '.*'
for:
job:
- equals:
group: 'anvils'
name: 'Status'
allow: [run,read]
- equals:
group: 'anvils/web'
name: 'Restart'
allow: [read]
node:
- allow: [read,run] # allow read/run for all nodes
by:
group: dev
---
description: Acess for ops.
context:
project: '.*'
for:
job:
- match:
group: 'anvils'
name: '.*'
allow: [run,read]
- match:
group: 'anvils/web'
name: '.*'
allow: [run,read]
node:
- allow: [read,run] # allow read/run for all nodes
by:
group: ops
---
description: Allow read access for projects
context:
application: 'rundeck'
for:
resource:
- allow: [read]
project:
- allow: [read]
by:
group: [dev,ops]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment