Getting Started - Access Control Lists
Getting Started - Access Control Lists
Role Based Access can be managed at the system or project specific level.
In this list of project based ACLs the UserAccess policy governs the rights alice
and betty
have currently.
In the following Exercise we will allow Alice to also run AdHoc Commands:
Enterprise Exercise:
- Click Project Settings > Access Control
- Click + Create ACL Policy button
- Name:
AllowCommands
(no spaces) - Click + New Rule button
- Description:
Commands for Alice
- By > User
- User value:
alice
- Resource:
AdHoc
- Allow option checked
- Check the first three options
(read), (view), and (run)
- Click Add Rule
- Click Save
Community Exercise:
- Click Project Settings > Access Control
- Click + Create ACL Policy button
- Name:
AllowCommands
(no spaces) - Paste the following code into the editor
--- by: username: alice description: Commands for Alice for: adhoc: - allow: - read - view - run
- Click Save
The code tells Rundeck to Allow Alice to run adhoc commands.
Return to the Alice Incognito window and refresh the browser. A new option for Commands should appear in the left navigation menu.
Since this ACL was scoped to alice
, logging out and back in as betty
will not have Commands in the Welcome Project.