Skip to content

Instantly share code, notes, and snippets.

@ahonor
Created May 6, 2015 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ahonor/28545666e69bc4efbd34 to your computer and use it in GitHub Desktop.
Save ahonor/28545666e69bc4efbd34 to your computer and use it in GitHub Desktop.
description: 'Given user in group "releng" and for job matches "release/.*", then allow action [read,run].'
context:
project: '(guitars-stage|guitars-production)'
for:
resource:
- allow: read
job:
- match:
group: 'release'
name: '.*'
allow: [run,read]
node:
- allow: [read,run] # allow read/run for all nodes
by:
group: releng
---
description: Allow read access for the guitars-stage project.
context:
application: 'rundeck'
for:
resource:
- allow: [read]
project:
- match:
name: '(guitars-stage|guitars-production)'
allow: [read]
by:
group: [releng]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment