mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-31 17:11:23 -07:00
* Fix project acls are put/posted to the wrong endpoint * Add changelog fragment. * Fix 2.7 sanity errors in github * Fix fragment extension and use 2.7 syntax in test * Update changelogs/fragments/10097-fix-rundeck_acl_policy-project-endpoint.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Fix pep8 formatting * Add licensing to unit test --------- Co-authored-by: Felix Fontein <felix@fontein.de>
37 lines
772 B
YAML
37 lines
772 B
YAML
---
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
rundeck_url: http://localhost:4440
|
|
rundeck_api_version: 39
|
|
rundeck_job_id: 3b8a6e54-69fb-42b7-b98f-f82e59238478
|
|
|
|
system_acl_policy: |
|
|
description: Test ACL
|
|
context:
|
|
application: 'rundeck'
|
|
for:
|
|
project:
|
|
- allow:
|
|
- read
|
|
by:
|
|
group:
|
|
- users
|
|
|
|
project_acl_policy: |
|
|
description: Test project acl
|
|
for:
|
|
resource:
|
|
- equals:
|
|
kind: node
|
|
allow: [read,refresh]
|
|
- equals:
|
|
kind: event
|
|
allow: [read]
|
|
job:
|
|
- allow: [run,kill]
|
|
node:
|
|
- allow: [read,run]
|
|
by:
|
|
group: users
|