Skip to content

Instantly share code, notes, and snippets.

@IssacTran
Created June 28, 2016 03:14
Show Gist options
  • Save IssacTran/5774cb7d366879c0d17376f3699a0a55 to your computer and use it in GitHub Desktop.
Save IssacTran/5774cb7d366879c0d17376f3699a0a55 to your computer and use it in GitHub Desktop.
Rundeck ACL Policy
description: Developer Project Policy
context:
project: 'gto' # GTO project
for:
resource:
- equals:
kind: job
allow: [read,run]
- equals:
kind: node
allow: [read,refresh]
- equals:
kind: event
allow: [read] # allow read events
adhoc:
- deny: '*' # deny running/killing adhoc jobs
job:
- match:
group: 'platforms/.*/dev/.*|platforms/.*/cert/.*|platforms/.*/perf/.*|platforms/sms/.*'
allow: [read,run,kill]
- match:
group: '.*lib.*'
allow: [run]
node:
- allow: '*' # allow read/run for all nodes
by:
group: [rd_developer]
---
description: Developer Application Policy
context:
application: 'rundeck'
for:
resource:
- equals:
kind: project
deny: [create]
- equals:
kind: system
deny: [read]
- equals:
kind: user
deny: [admin]
project:
- match:
name: 'gto'
allow: 'read'
by:
group: [rd_developer]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment