-
-
Save bugcy013/9de9b6a3ff5486ef3338 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| description: 'Given user in group "ops" and for adhoc commands and jobs matching "web/.*", then allow action [read,run] on nodes tagged 'www'. | |
| context: | |
| project: 'guitars-production' | |
| for: | |
| resource: | |
| - allow: read | |
| job: | |
| - match: | |
| group: 'web' | |
| name: '.*' | |
| allow: [run,read] | |
| adhoc: | |
| - allow: [read,run,kill] | |
| node: | |
| - match: | |
| nodename: '.*' | |
| allow: [read] | |
| - contains: | |
| tags: www | |
| allow: [read,run] | |
| by: | |
| group: ops | |
| --- | |
| description: Allow read access for guitars-production project. | |
| context: | |
| application: 'rundeck' | |
| for: | |
| resource: | |
| - allow: [read] | |
| project: | |
| - match: | |
| name: 'guitars-production' | |
| allow: [read] | |
| by: | |
| group: ops |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment