Skip to main content

Group/Project/Job Group Execute Only


Group/Project/Job Group Execute Only

Use Case Description

Assign a specific Rundeck Group access to only run jobs in a specific Job Group (folder), in a specified project. It will allow running jobs against all nodes in the project.

Code Description

Find and replace these values with your own.

  • Project Unique ID: prj-sandbox
  • Group: grp-sandbox-exec
  • Job Group: jgrp-sandbox

Steps to implement are covered in the overview page.

ACL Code

description: in project context, ensure access to run jobs in a job group with any node
context:
  project: prj-sandbox
for:
  resource:
    - allow: [run,read]
  job:
    - equals:
        group: jgrp-sandbox
      allow: [run,read]
  node:
    - allow: [read,run]
by:
  group: grp-sandbox-exec 
---
description: in application context, provide read access to project
context:
  application: 'rundeck'
for:
  project:
    - match:
        name: prj-sandbox
      allow: [read]
  storage:
     - allow: [read]
by:
  group: grp-sandbox-exec
---
description: Allow [read] for key storage access at the project level.  If accessing keys outside the project context, you'll need a comparable system-level rule.
context:
  project: prj-sandbox
for:
  storage:
  - allow: [read]
by:
  group: grp-sandbox-exec