Use this when controlling access in Rundeck.
ACL Policies
Rundeck ACL policies are YAML rules that grant users and groups specific rights on projects, jobs, nodes and keys, such as allowing only run, not edit, for operators.
1. ACL policies control who can view/run/edit jobs and nodes.
2. Least privilege per group.
3. Separate project ACLs.
4. Test policies.
5. Version them.
user groups → ACL policies → allowed actions
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Lint the YAML, identify every loaded policy source, and test with the exact principal/group and project context. Exercise one action that must be allowed and one adjacent action/resource that must be denied; do not validate only with an administrator. Inspect authorization logs or API responses to confirm which context/resource/action was evaluated. Re-test after policy reload and after group-membership changes.
Step 2 Common mistakes Narrow the fault
- ACLs granting admin to everyone.
Step 3 Where it fails Narrow the fault
Separate authentication, group/identity mapping, ACL file loading/parsing, policy matching and the protected Rundeck action. A user can authenticate successfully but fail authorization; a syntactically valid policy can be scoped to the wrong project; and a broad regex can authorize more resources than intended. Do not “fix” denial by granting wildcard admin access. Preserve the denied request and effective policy set, then change the narrowest failing rule.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- ACL policies are YAML files.
- They grant rights on projects, jobs, nodes and keys.
- Give operators run, not edit, rights.
- ACL policy files (.aclpolicy) — rules
rd system acls list— system ACLs- Test ACL with a user — verification
ReferenceWhy it matters1 section · depth on demand
In depth
Rundeck ACL policies define who can view, run or edit which jobs and nodes, per project. They are YAML files evaluated on every action, enabling self-service without giving shell access.
description: helpdesk can run restart jobs on web nodes
context: { project: ops }
for:
job:
- match: { group: 'helpdesk/.*' }
allow: [read, run]
node:
- match: { tags: 'web' }
allow: [read, run]
by:
group: helpdesk
Grant run rights to specific job groups rather than all jobs, and review ACL files through Git like other code.
ReferenceImportant terms & boundaries1 section · depth on demand
Mechanics
Rundeck ACL policies are ordered authorization rules expressed in YAML with context, resource/action selectors and principal matching. Application-level and project-level contexts authorize different resource classes, and regex or match/equal selectors can broaden scope unexpectedly. Multiple policy files contribute to the effective decision, so inspecting only one file is insufficient. Authorization is evaluated against the user/group and requested action/resource, not against a generic “role” label.
ReferenceConfiguration & state1 section · depth on demand
Lifecycle
Store ACL policy files or API-managed policies in reviewed source control, keep project versus system scope explicit, and treat regex changes as security-sensitive. Use small policy documents with descriptive ownership rather than one global wildcard policy. Review group membership and policy source together, remove obsolete grants, and test upgrades when supported actions/resources change. Maintain a break-glass admin path separately from routine operator grants.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Rundeck > ACL Policies. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.rundeck.com/docs/administration/security/authorization.html · confidence 94%Quick lookup tables
Rundeck → ACL Policies · operational reference
Context-specific ownership, verification, output and failure-boundary lookup for Rundeck → ACL Policies.
| Layer | Rundeck → ACL Policies operational reference |
|---|---|
| Runtime/ownership | Rundeck ACL policy authorization · identify controller/parser, durable intent, identity and target ownership before mutation |
| Persistent intent | Versioned definition/configuration with explicit dependencies, scope and credential boundary |
| Verification | Validate the .aclpolicy YAML and test one allowed plus one denied action using the intended user/group/project context. |
| Expected interpretation | The policy matches the intended application/project context, principal selector and resource/action set; allowed access succeeds and explicitly out-of-scope access is denied. |
| Recovery boundary | Preserve correlation IDs + pre-state, repair first failing boundary, then verify the target independently |
Deep reference
Healthy vs suspicious evidence
Output interpretation
Preserve policy file/API ID, context, matched principal, resource kind/path, requested action, decision and relevant log/request ID. A 403 is evidence of denial but not by itself evidence which rule caused it; correlate with policy configuration and authorization logging. For reviews, summarize grants by project/resource/action while retaining the exact YAML used for enforcement.