Skip to content

Instantly share code, notes, and snippets.

@gschueler
Last active May 4, 2017 17:27
Show Gist options
  • Save gschueler/7586722 to your computer and use it in GitHub Desktop.
Save gschueler/7586722 to your computer and use it in GitHub Desktop.
example restriction for group to set of jobs
description: Admin, all access.
context:
project: '.*' # all projects
for:
resource:
- allow: '*' # allow read/create all kinds
adhoc:
- allow: '*' # allow read/running/killing adhoc jobs
job:
- match:
group: 'mygroup/.*'
allow: '*' # allow all access to mygroup/ and no other jobs
- match:
group: 'other/.*'
allow: 'read' # allow read access to other/ group
node:
- allow: '*' # allow read/run for all nodes
by:
group: qa
---
description: Admin, all access.
context:
application: 'rundeck'
for:
resource:
- allow: '*' # allow create of projects
project:
- allow: '*' # allow view/admin of all projects
by:
group: qa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment